[buildrobot] non-PIC references to __ehdr_start (was: gdb and binutils branch master updated. 4199e3b8669d0a36448687850374fdc2ad7240b6)
Jan-Benedict Glaw
jbglaw@lug-owl.de
Wed Jan 15 13:30:00 GMT 2014
On Wed, 2014-01-15 11:53:31 -0000, amodra@sourceware.org <amodra@sourceware.org> wrote:
> commit 4199e3b8669d0a36448687850374fdc2ad7240b6
> Author: Alan Modra <amodra@gmail.com>
> Date: Wed Jan 15 21:50:55 2014 +1030
>
> non-PIC references to __ehdr_start in pie and shared
>
> Rather than hacking every backend to not discard dynamic relocations
> against an undefined hidden __ehdr_start, make it appear to be defined
> early.
This patch apparently produces fallout on gcc76.fsffrance.org for (at
least)
score-elf: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91138
nds32be-elf: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91139
tic6x-uclinux: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91206
bfin-elf: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91207
rl78-elf: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91212
am33_2.0-linux: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91213
rx-elf: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91215
vax-linux: http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=91235
It's like:
cp /home/jbglaw/repos/binutils_gdb/ld/emultempl/astring.sed stringify.sed
LIB_PATH='' /bin/sh /home/jbglaw/repos/binutils_gdb/ld/genscripts.sh "/home/jbglaw/repos/binutils_gdb/ld" "/home/jbglaw/build/vax-linux/_install_/lib" "/home/jbglaw/build/vax-linux/_install_" "/home/jbglaw/build/vax-linux/_install_" x86_64-unknown-linux-gnu vax-dec-linux-gnu vax-linux "elf32vax" "/usr/local/lib /lib /usr/lib" no no elf32vax "vax-linux"
gcc -DHAVE_CONFIG_H -I. -I/home/jbglaw/repos/binutils_gdb/ld -I. -I/home/jbglaw/repos/binutils_gdb/ld -I../bfd -I/home/jbglaw/repos/binutils_gdb/ld/../bfd -I/home/jbglaw/repos/binutils_gdb/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/home/jbglaw/build/vax-linux/_install_/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT eelf32vax.o -MD -MP -MF .deps/eelf32vax.Tpo -c -o eelf32vax.o eelf32vax.c
cc1: warnings being treated as errors
eelf32vax.c: In function ‘gldelf32vax_before_allocation’:
eelf32vax.c:1050: error: ‘ehdr_start_save.type’ may be used uninitialized in this function
make[3]: *** [eelf32vax.o] Error 1
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481
Signature of: http://perl.plover.com/Questions.html
the second :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20140115/7a6db557/attachment.sig>
More information about the Binutils
mailing list