This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

trouble building gcc-3.4.0-20040416 with binutils-2.15.90.0.3?


The latest H.J.Lu binutils 'as' for i686 seems to object to statements like
movl $_ZNSdD0Ev@GOT(%ecx), %ecx
as it complains
strstream.s:8384: Error: junk `(%ecx)' after expression
This hit me while trying to build the libstdc++ of the 2nd gcc-3.4.0 prerelease.
Guess I'll drop back to an older binutils and see if that fixes it.
In the meantime, here's a bit of the output of xgcc -v.
- Dan


/cygdrive/c/dank/test/crosstool-0.28-rc5/build/i686-unknown-linux-gnu/gcc-3.4.0-20040416-glibc-2.1.3/build-gcc/gcc/cc1plus.exe -fpreprocessed strstream.ii -quiet -dumpbase strstream.cc -mtune=pentiumpro -auxbase strstream -g -g -O2 -O2 -O2 -Wall -W -Wwrite-strings -Wcast-qual -Wno-deprecated -version -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -fPIC -o strstream.s
GNU C++ version 3.4.0 20040416 (prerelease) (i686-unknown-linux-gnu)
compiled by GNU C version 3.3.1 (cygming special).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=65470


/opt/distcrosstool/i686-pc-cygwin/i686-unknown-linux-gnu/gcc-3.4.0-20040416-glibc-2.1.3/i686-unknown-linux-gnu/bin/as.exe -V -Qy -o strstream.o strstream.s
GNU assembler version 2.15.90.0.3 (i686-unknown-linux-gnu) using BFD version 2.15.90.0.3 20040415
strstream.s: Assembler messages:
strstream.s:8384: Error: junk `(%ecx)' after expression
strstream.s:8396: Error: junk `(%ecx)' after expression
strstream.s:8545: Error: junk `(%ecx)' after expression
strstream.s:8557: Error: junk `(%ecx)' after expression


$ grep -n movl.*ecx.*ecx strstream.s
8384:   movl    $_ZNSdD1Ev@GOT(%ecx), %ecx
8396:   movl    $_ZNSdD1Ev@GOT(%ecx), %ecx
8545:   movl    $_ZNSdD0Ev@GOT(%ecx), %ecx
8557:   movl    $_ZNSdD0Ev@GOT(%ecx), %ecx


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