Re: trouble building 4.7.2 w/binutils 2.23.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



12.6.2013 23:52, Uri Moszkowicz kirjoitti:
Hi,
I'm trying to build GCC 4.7.2 with binutils 2.23.1 and am getting a
compile error:

dwarf.o: In function `get_TAG_name':
/w/umoszkow/gcc/x86_64/binutils/../../gcc-4.7.2/binutils/dwarf.c:662:
undefined reference to `get_DW_TAG_name'
dwarf.o: In function `get_FORM_name':
/w/umoszkow/gcc/x86_64/binutils/../../gcc-4.7.2/binutils/dwarf.c:678:
undefined reference to `get_DW_FORM_name'
dwarf.o: In function `get_AT_name':
/w/umoszkow/gcc/x86_64/binutils/../../gcc-4.7.2/binutils/dwarf.c:1867:
undefined reference to `get_DW_AT_name'
collect2: error: ld returned 1 exit status

Any idea how to get around this build problem? My arch is x86_64 and
my OS is RHEL4u8WS.

Where you found that the gcc-4.7.2 and binutils-2.23.1 sources are in sync so
that they can be combined and be built together?

A quick googling with this subject told in :

http://stackoverflow.com/questions/1726042/recipe-for-compiling-binutils-gcc-together

the following :

"Doing this with gcc 4.7.2, with binutils-2.22 and contrib/download_prerequisites for gmp, mpc,mpfr; recipe works, but gcc fails to build with -flto, resulting in: collect2: fatal error: cannot find 'ld'. To rectify that, make a symbolic link ld -> ld-new in your ...prefix/bin directory."

I don't know what the "contrib/download_prerequisites" says about the binutils version for gcc-4.7.2 if even anything but a simple sanity check with the release dates of the 1st src
releases :

gcc-4.7.0 - 22.3.2012
binutils-2.23 - 22.10.2012

tells that the latter wasn't available when the former was released!




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux