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

See the CrossGCC FAQ for lots more information.


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

re: binutils-2.15.90.0.3 problem on cygwin?


Gernot.Frisch wrote:
> [on cygwin, with crosstool-0.28-rc13:]
arlex.o(.text+0x0): In function `main':
/crosstool-0.28-rc13/build/i686-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-binutils/binutils/arlex.c:1: multiple definition of `_main'
arparse.o(.text+0x0):/crosstool-0.28-rc13/build/i686-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-binutils/binutils/arparse.c:1: first defined here

ar.o(.text+0xf30): In function `main':
/crosstool-0.28-rc13/build/i686-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/binutils-2.15.90.0.3/binutils/ar.c:342: multiple definition of `_main'
arparse.o(.text+0x0):/crosstool-0.28-rc13/build/i686-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-binutils/binutils/arparse.c:1: first defined here

ar.o(.text+0x27): In function `mri_emul':
/crosstool-0.28-rc13/build/i686-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/binutils-2.15.90.0.3/binutils/ar.c:148: undefined reference to `_yyparse'

collect2: ld returned 1 exit status

make[3]: *** [ar.exe] Error 1  ...
make[1]: Leaving directory `/crosstool-0.28-rc13/build/i686-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-binutils/binutils'
make: *** [all-binutils] Error 2

Oooh, interesting. Try switching to an earlier version of binutils. Easiest way to do this is to edit demo-i686.sh to use gcc-3.3.3 instead of gcc-3.4.0, since gcc-3.3.3-glibc-2.3.2.dat happens to use an older binutils.

Thanks for the problem report.
- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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