This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: undefined reference caused toolchain builds to fail
- From: Andreas Jaeger <aj at suse dot de>
- To: Dzung Nguyen <dunguyen at iol dot unh dot edu>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 17 Sep 2002 13:24:14 +0200
- Subject: Re: undefined reference caused toolchain builds to fail
- References: <3D863BA1.5060203@iol.unh.edu>
Dzung Nguyen <dunguyen@iol.unh.edu> writes:
> This email is sent to you by request from members of the above mailing
> lists.
> It will be sent to you on a daily/weekly basis. If you have any
> question, please email
> to clp@iol.unh.edu.
>
> This message is generated from an autobuild system on an alpha platform.
Since the bug you see is not related to glibc, I request that you do
not send this to libc-alpha. We do not want to be spammed daily for a
problem that is not related to glibc!
> The most recent build of bootstrap-gcc_3.0.4/toolchain on 9/16/02
> failed due to the following error:
>
> /bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
> -Wmissing-prototy
> pes -g -O2 -o cxxfilt cplus-dem.o underscore.o
> ../libiberty/libiberty.a gcc -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -g -O2 -o cxxfilt cplus-de
> m.o underscore.o ../libiberty/libiberty.a
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> make[3]: *** [cxxfilt] Error 1
> make[3]: Leaving directory
> `/home/buildsys/build/intel1/bootstrap-gcc_3.0.4/nati
> ve/toolchain/binutils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/buildsys/build/intel1/bootstrap-gcc_3.0.4/nati
> ve/toolchain/binutils'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory
> `/home/buildsys/build/intel1/bootstrap-gcc_3.0.4/nati
> ve/toolchain/binutils'
> make: *** [all-binutils] Error 2
> ~
>
> This error has been causing problem to our builds many times. Any idea
> or pointer?
This is a known problem that's discussed on the binutils mailing list
for some days already and should be fixed now.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj