Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Gcc/gprof errors?
@ 1996-12-12  3:56 Lev D Gelb
  0 siblings, 0 replies; 2+ messages in thread
From: Lev D Gelb @ 1996-12-12  3:56 UTC (permalink / raw)


Hi - I'm having a problem with 
gcc , on a Dec/Alpha running RedHat 4.0.  

The kernel has been boosted to 2.0.25; all else is
as on the CD.
Anyway, when I compile my "hello, world" program, I
get:

[lev@eddie]$ gcc -pg hw.c
/usr/lib/gcrt1.o: In function `__gmon_start__':
gmon-start.c(.text+0xd8): undefined reference to `_start'

[lev@eddie]$ rpm -qf /usr/lib/gcrt1.o
glibc-devel-0.960906-1

Any suggestions what to do about it?

Thanks,
Lev Gelb
gelb@cheme.cornell.edu

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: Gcc/gprof errors?
@ 1996-12-12 17:25 Przemek Klosowski
  0 siblings, 0 replies; 2+ messages in thread
From: Przemek Klosowski @ 1996-12-12 17:25 UTC (permalink / raw)


Lev D Gelb wrote:

   Anyway, when I compile my "hello, world" program, I
   get:

   [lev@eddie]$ gcc -pg hw.c
   /usr/lib/gcrt1.o: In function `__gmon_start__':
   gmon-start.c(.text+0xd8): undefined reference to `_start'

I can confirm that (see a copy of my earlier posting). Richard
Henderson said that this is a known problem, being worked upon
(however, I wouldn't be surprised if this had low priority, as there
are other more important issues with the compiler toolchain).

	przemek

>Here are some problems in RH 4.0 on DEC Alpha (gcc-2.7.2-9, glibc-0.960906-1)

> - I can't make profiling to work
>  
>   Regular timer-based profiling dies at runtime

>	$ gcc -p -o testdebug testdebug.c
>	$ ./testdebug
>	monstartup: out of memory

>   which is clearly not the case:

>	$ cat /proc/meminfo 
>	total:    used:    free:  shared: buffers:  cached:
>	Mem:  63406080 60293120  3112960 46735360  2990080 25772032

>   At the same time gprof-based profiling misses some library symbols

>	gcc -pg -o testdebug testdebug.c
>	/usr/lib/gcrt1.o: In function `__gmon_start__':
>	gmon-start.c(.text+0xd8): undefined reference to `_start'

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-12-12 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-12  3:56 Gcc/gprof errors? Lev D Gelb
  -- strict thread matches above, loose matches on Subject: below --
1996-12-12 17:25 Przemek Klosowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox