[Bug 242053] devel/binutils 2.33.1 Failed build: ld: error: undefined symbol: bswap_identity_64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 18 10:21:59 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242053
Bug ID: 242053
Summary: devel/binutils 2.33.1 Failed build: ld: error:
undefined symbol: bswap_identity_64
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: bapt at FreeBSD.org
Reporter: freebsd at sysctl.cz
Flags: maintainer-feedback?(bapt at FreeBSD.org)
Assignee: bapt at FreeBSD.org
Hi,
i compiled binutils with portmaster on FreeBSD 12.1-RELEASE
but i have problem with linker.
v -f $depbase.Tpo $depbase.Po
depbase=`echo od-xcoff.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./../bfd -I./../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -isystem /usr/local/include
-I/usr/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
-pipe -g -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -MT od-xcoff.o -MD -MP -MF $depbase.Tpo -c -o od-xcoff.o
od-xcoff.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link cc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -pipe -g -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -fstack-protector-strong -o objdump
objdump.o dwarf.o prdbg.o rddbg.o debug.o stabs.o rdcoff.o bucomm.o version.o
filemode.o elfcomm.o od-xcoff.o ../opcodes/libopcodes.la ../libctf/libctf.a
../bfd/libbfd.la ../libiberty/libiberty.a /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib -L/usr/local/lib
libtool: link: cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
-pipe -g -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fstack-protector-strong -o objdump objdump.o dwarf.o
prdbg.o rddbg.o debug.o stabs.o rdcoff.o bucomm.o version.o filemode.o
elfcomm.o od-xcoff.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib
../opcodes/.libs/libopcodes.a -L/usr/local/lib ../libctf/libctf.a
../bfd/.libs/libbfd.a -lz ../libiberty/libiberty.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:112
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:113
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:114
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:125
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:134
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:147
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:167
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:168
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:175
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:187
>>> ctf-archive.o:(ctf_arc_write) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:266
>>> ctf-archive.o:(arc_write_one_ctf) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:299
>>> ctf-archive.o:(sort_modent_by_name) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:300
>>> ctf-archive.o:(sort_modent_by_name) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:322
>>> ctf-archive.o:(ctf_arc_bufopen) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:359
>>> ctf-archive.o:(ctf_arc_open_internal) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:431
>>> ctf-archive.o:(ctf_arc_open_by_name_internal) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:432
>>> ctf-archive.o:(ctf_arc_open_by_name_internal) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:446
>>> ctf-archive.o:(ctf_arc_open_by_name_internal) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:543
>>> ctf-archive.o:(ctf_archive_raw_iter_internal) in archive ../libctf/libctf.a
ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:545
>>> ctf-archive.o:(ctf_archive_raw_iter_internal) in archive ../libctf/libctf.a
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all
errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[6]: *** [Makefile:922: objdump] Error 1
gmake[6]: Leaving directory
'/usr/ports/devel/binutils/work-native/binutils-2.33.1/binutils'
gmake[5]: *** [Makefile:1130: all-recursive] Error 1
gmake[5]: Leaving directory
'/usr/ports/devel/binutils/work-native/binutils-2.33.1/binutils'
gmake[4]: *** [Makefile:757: all] Error 2
gmake[4]: Leaving directory
'/usr/ports/devel/binutils/work-native/binutils-2.33.1/binutils'
gmake[3]: *** [Makefile:3612: all-binutils] Error 2
gmake[3]: Leaving directory
'/usr/ports/devel/binutils/work-native/binutils-2.33.1'
gmake[2]: *** [Makefile:851: all] Error 2
gmake[2]: Leaving directory
'/usr/ports/devel/binutils/work-native/binutils-2.33.1'
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/binutils
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/binutils
===>>> make build failed for devel/binutils
===>>> Aborting update
===>>> Update for devel/binutils failed
===>>> Aborting update
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list