This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/25646] New: Unknown error from linker and/or binutils, PLEASE HELP... :(
- From: "sguido at micromotive dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2006 05:06:10 -0000
- Subject: [Bug other/25646] New: Unknown error from linker and/or binutils, PLEASE HELP... :(
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC,
Thanks in advance for any help...I am in trouble....
I am using GCC 4.0.2 with binutils 2.16. All of my source code compiles fine,
and the partial linking seems to be fine, but I get an internal error with no
additional information of what is wrong on the final link. This is critical and
it is stopping me from building, any help would be greatly appreciated. The
following is all the information I have on the internal linker error:
powerpc-eabi-ld: BFD 2.16 internal error, aborting at
../../binutils-2.16/bfd/elflink.c line 6419 in elf_link_output_extsym
powerpc-eabi-ld: Please report this bug.
--------------------------------------------------------------------------
My build of GCC 4.0.2 is shown below:
D:\projects.gnu\raptor\software\hso6xx\svo>powerpc-eabi-gcc -v
Using built-in specs.
Target: powerpc-eabi
Configured with: ../gcc-4.0.2/configure --target=powerpc-eabi
--prefix=/usr/local/powerpc-eabi --without-headers --with-newlib --wit
h-gnu-as --with-gnu-ld : (reconfigured) ../gcc-4.0.2/configure
--target=powerpc-eabi --prefix=/usr/local/powerpc-eabi --with-newlib
: (reconfigured) ../gcc-4.0.2/configure --target=powerpc-eabi
--prefix=/usr/local/powerpc-eabi --with-newlib --enable-languages=c,c+
+,objc,java
Thread model: single
gcc version 4.0.2
-----------------------------------------------------------------------------
The complete linker command line and response is below (The ".ro" files are
partially linked, relocateable ELF files that have been built from
sub-directory builds):
powerpc-eabi-ld --script=mpc565.dld -Map SvoR2_7.map -EB
D:/projects.gnu/raptor/software/hso6xx/svo/context/context.ro D:/projects.
gnu/raptor/software/hso6xx/svo/features/abs/abs.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/act/act.ro
D:/projects.gnu/ra
ptor/software/hso6xx/svo/features/commProcessor/commProcessor.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/coolingFan/cool
ingFan.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/cylinderCut/cylinderCut.ro
D:/projects.gnu/raptor/software/hso6xx/svo/
features/ect/ect.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/frp/frp.ro
D:/projects.gnu/raptor/software/hso6xx/svo/featur
es/fuel/fuel.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/fuelPump/fuelPump.ro
D:/projects.gnu/raptor/software/hso6xx/svo/
features/gear/gear.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/global/global.ro
D:/projects.gnu/raptor/software/hso6xx/sv
o/features/hud/hud.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/IdleSpeedControl/IdleSpeedControl.ro
D:/projects.gnu/rapto
r/software/hso6xx/svo/features/PitLane/PitLane.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/RevLimiter/RevLimiter.ro
D:/pr
ojects.gnu/raptor/software/hso6xx/svo/features/Rpm/Rpm.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/spark/spark.ro D:/proj
ects.gnu/raptor/software/hso6xx/svo/features/ThrottleMode/ThrottleMode.ro
D:/projects.gnu/raptor/software/hso6xx/svo/features/Timers
/Timers.ro D:/projects.gnu/raptor/software/hso6xx/svo/features/vbat/vbat.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/conf
ig/config.ro D:/projects.gnu/raptor/software/hso6xx/svo/platform/fpi/fpi.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/glob
al/global.ro D:/projects.gnu/raptor/software/hso6xx/svo/platform/init/init.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/mc
u/io/io.ro D:/projects.gnu/raptor/software/hso6xx/svo/platform/mcu/mios/mios.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/
mcu/qadc/qadc.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/mcu/qsmcm/qsmcm.ro
D:/projects.gnu/raptor/software/hso6xx/svo/p
latform/mcu/toucan/toucan.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/mcu/tpu/tpu.ro
D:/projects.gnu/raptor/software/hso6
xx/svo/platform/pwb/airCharge/airCharge.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/pwb/at25256a/at25256a.ro
D:/projects.
gnu/raptor/software/hso6xx/svo/platform/pwb/bspa/bspa.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/pwb/coilCurrent/coilCur
rent.ro D:/projects.gnu/raptor/software/hso6xx/svo/platform/pwb/scowl/scowl.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/p
wb/shreec/shreec.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/act/act.ro
D:/projects.gnu/raptor/software/hso6xx/svo/pl
atform/sae/canDi/canDi.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/coolingFan/coolingFan.ro
D:/projects.gnu/raptor/so
ftware/hso6xx/svo/platform/sae/ect/ect.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/ep/ep.ro
D:/projects.gnu/raptor/so
ftware/hso6xx/svo/platform/sae/frp/frp.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/fuel/fuel.ro
D:/projects.gnu/rapto
r/software/hso6xx/svo/platform/sae/fuelPump/fuelPump.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/isc/isc.ro D:/projec
ts.gnu/raptor/software/hso6xx/svo/platform/sae/map/map.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/rs232/rs232.ro D:/
projects.gnu/raptor/software/hso6xx/svo/platform/sae/saeDi/saeDi.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/spark/sp
ark.ro D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/tp/tp.ro
D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/vbat
/vbat.ro D:/projects.gnu/raptor/software/hso6xx/svo/platform/sae/wss/wss.ro
D:/projects.gnu/raptor/software/hso6xx/svo/utilities/diF
ilter/diFilter.ro
D:/projects.gnu/raptor/software/hso6xx/svo/utilities/err/err.ro
D:/projects.gnu/raptor/software/hso6xx/svo/utiliti
es/fox/fox.ro D:/projects.gnu/raptor/software/hso6xx/svo/utilities/foxy/foxy.ro
D:/projects.gnu/raptor/software/hso6xx/svo/utilities
/modmath/modmath.ro
D:/projects.gnu/raptor/software/hso6xx/svo/utilities/string/string.ro
D:/projects.gnu/raptor/software/hso6xx/svo
/main.o D:/projects.gnu/raptor/software/hso6xx/svo/units.o
D:/projects.gnu/raptor/software/hso6xx/svo/Task8ms.o D:/projects.gnu/rapt
or/software/hso6xx/svo/Task50ms.o
D:/projects.gnu/raptor/software/hso6xx/svo/Task100ms.o
D:/projects.gnu/raptor/software/hso6xx/svo/
/version.o D:/projects.gnu/raptor/software/hso6xx/svo/rtos/crt1.o
D:/projects.gnu/raptor/software/hso6xx/svo/rtos/OsConfig.o D:/proj
ects.gnu/raptor/software/hso6xx/svo/rtos/OsHooks.o
D:/projects.gnu/raptor/software/hso6xx/svo/platform/mcu/libs/libm.a
D:/projects.g
nu/raptor/software/hso6xx/svo/platform/mcu/libs/libcfp.a
D:/projects.gnu/raptor/software/hso6xx/svo/platform/mcu/libs/libimpfp.a D:/
projects.gnu/raptor/software/hso6xx/svo/platform/mcu/libs/libimpl.a
D:/projects.gnu/raptor/software/hso6xx/svo/rtos/rtos.ro -o SvoR2
_7.elf
powerpc-eabi-ld: BFD 2.16 internal error, aborting at
../../binutils-2.16/bfd/elflink.c line 6419 in elf_link_output_extsym
powerpc-eabi-ld: Please report this bug.
make: *** [SvoR2_7.elf] Error 1
--
Summary: Unknown error from linker and/or binutils, PLEASE
HELP... :(
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sguido at micromotive dot net
GCC host triplet: Windows XP
GCC target triplet: PowerPC EABI
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25646