Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2019 10:21:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242053] devel/binutils 2.33.1 Failed build: ld: error: undefined symbol: bswap_identity_64
Message-ID:  <bug-242053-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242053

            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@FreeBSD.org
          Reporter: freebsd@sysctl.cz
             Flags: maintainer-feedback?(bapt@FreeBSD.org)
          Assignee: bapt@FreeBSD.org

Hi,=20
i compiled binutils with portmaster on FreeBSD 12.1-RELEASE
but i have problem with linker.

v -f $depbase.Tpo $depbase.Po
depbase=3D`echo od-xcoff.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include
-DLOCALEDIR=3D"\"/usr/local/share/locale\""
-Dbin_dummy_emulation=3Dbin_vanilla_emulation -isystem /usr/local/include
-I/usr/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wsh=
adow
 -pipe  -g -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -MT od-xcoff.o -MD -MP -MF $depbase.Tpo -c -o od-xcof=
f.o
od-xcoff.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool  --tag=3DCC   --mode=3Dlink cc -W -Wall -Wstrict-prototyp=
es
-Wmissing-prototypes -Wshadow  -pipe  -g -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing   -fstack-protector-strong  -o objd=
ump
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,-rp=
ath
-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/li=
b=20
../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/li=
bctf.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/libc=
tf.a

ld: error: undefined symbol: bswap_identity_64
>>> referenced by ctf-archive.c:359
>>>               ctf-archive.o:(ctf_arc_open_internal) in archive ../libct=
f/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=3D0 to s=
ee 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

=3D=3D=3D>>> make build failed for devel/binutils
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for devel/binutils failed
=3D=3D=3D>>> Aborting update

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242053-7788>