Possible gcc 4.3 error on ppc64

Adrian Reber adrian at lisas.de
Mon Feb 25 11:02:27 UTC 2008


During mass rebuild one of packages (gmpc) failed to rebuild:

http://koji.fedoraproject.org/koji/taskinfo?taskID=436024

/usr/bin/ld: misc.o(.text+0x450): unresolvable R_PPC64_REL24 relocation against symbol `mpd_data_get_next_real'
/usr/bin/ld: misc.o(.text+0x4ac): unresolvable R_PPC64_REL24 relocation against symbol `mpd_data_get_next_real'

The error happens only on ppc64. I tried to debug this but I am not sure
why it fails. I have created a testcase http://lisas.de/~adrian/test.c
with which I can easily reproduce this.

If I compile test.c with gcc 4.3 linking fails. If I compile it with
gcc34 linking works.

The object dumps of both objects (gcc34 and gcc43) look pretty similar
so that there was nothing obvious why linking failed.

If anyone has any information if this a bug in gcc or what needs to be
fixed to get this running again... that would be great.

		Adrian




More information about the fedora-devel-list mailing list