This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ldmain.c:567: undefined reference to `lrealpath'


Aurora SPARC Linux 1.0 (Ansel) Ultra1 single UltraSparc I sun4u:

binutils 2.13.90 20030324 sparc64-linux
bison-1.35-1
dejagnu-1.4.2-10 (ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS)
expect-5.32.2-67
gcc 3.3 20030324 (prerelease) sparc64-linux
glibc-2.2.5-42
glibc-kernheaders-2.4-7.16sparc
glibc64-2.2.5-42
kernel-2.4.20-3.0sparc (experimental Aurora kernel)
tcl-8.3.3-67


When trying to bootstrap/build a joint binutils, cvs trunk, and gcc,
3.3 branch, LAST_UPDATED Wed Mar 26 11:09:14 CET 2003, configures like
this:

/usr/local/src/gcc-binutils/branch/gcc-binutils/configure --with-gcc-version-trigger=/usr/local/src/gcc-binutils/branch/gcc-binutils/gcc/version.c --host=sparc64-linux --prefix=/usr/local/gcc-binutils --enable-shared --enable-threads=posix --norecursion 

I get to the following point:

mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o .libs/ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf64_sparc.o eelf32_sparc.o esparclinux.o esun4.o  ../bfd/.libs/libbfd.so -L/usr/local/src/gcc-binutils/branch/objdir/libiberty/pic -liberty ../libiberty/libiberty.a -Wl,--rpath -Wl,/usr/local/gcc-binutils/lib
ldmain.o(.text+0xb10): In function `main':
/usr/local/src/gcc-binutils/branch/gcc-binutils/ld/ldmain.c:567: undefined reference to `lrealpath'
ldfile.o(.text+0xa8): In function `is_sysrooted_pathname':
/usr/local/src/gcc-binutils/branch/gcc-binutils/ld/ldfile.c:98: undefined reference to `lrealpath'
collect2: ld returned 1 exit status
make[3]: *** [ld-new] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-binutils/branch/objdir/ld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-binutils/branch/objdir/ld'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-binutils/branch/objdir/ld'
make: *** [all-ld] Error 2


Now, it worked a few days ago, see

http://gcc.gnu.org/ml/gcc-testresults/2003-03/msg01524.html

and I don't see what else has changed besides the source code, so I
suppose it has something to do with the patches applied between
(inclusive) this one (March 26, 2003, 01:05):

http://sources.redhat.com/ml/binutils-cvs/2003-03/msg00121.html

and this one (March 24, 2003, 11:28):

http://sources.redhat.com/ml/binutils-cvs/2003-03/msg00110.html

but I wouldn't state that as certain...

Cheers,

/ChJ



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]