bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23980] powerpc64 ld segfault when linking libc on FreeBSD


From: amodra at gmail dot com
Subject: [Bug ld/23980] powerpc64 ld segfault when linking libc on FreeBSD
Date: Mon, 17 Dec 2018 12:50:20 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23980

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
I don't reproduce the crash with a x86_64-linux to powerpc64-freebsd binutils
configured with
--disable-nls --enable-plugins --disable-gdb --disable-sim --disable-readline \
--disable-libdecnumber --target=powerpc64-freebsd

$ ld/ld-new -shared -o pr23980 write.pico writev.pico
ld/ld-new: write.pico: in function `write':
/usr/src/lib/libc/sys/write.c:49: undefined reference to `__libc_interposing'
ld/ld-new: /usr/src/lib/libc/sys/write.c:49: undefined reference to
`__libc_interposing'
ld/ld-new: writev.pico: in function `writev':
/usr/src/lib/libc/sys/writev.c:50: undefined reference to `__libc_interposing'
ld/ld-new: /usr/src/lib/libc/sys/writev.c:50: undefined reference to
`__libc_interposing'

$ ld/ld-new --version
GNU ld (GNU Binutils) 2.31.51.20181216

Incidentally, were you expecting write.pico and writev.pico to be big-endian
ELFv2 object files?  On linux we generally use big-endian ELFv1 and
little-endian ELFv2.  Not that there is any linker problem (that I'm aware of)
with big-endian ELFv2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]