[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
Wed Jul 8 05:18:51 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242053
--- Comment #20 from mrT <mrT1188123 at gmail.com> ---
(In reply to Martin Filla from comment #19)
That is the revision I was trying to build.
After getting your comment, I decided to try again:
svn co -r 529050 http://svn.freebsd.org/ports/head/devel/binutils
A binutils/Makefile
A binutils/distinfo
A binutils/files
A binutils/files/patch-bfd_elfnn-aarch64.c
A binutils/files/patch-bfd_elfnn-riscv.c
A binutils/files/patch-bfd_elfxx-sparc.c
A binutils/files/patch-gas-configure.tgt
A binutils/files/patch-include__safe-ctype.h
A binutils/files/patch-mips64.diff
A binutils/files/patch-s390x.diff
A binutils/pkg-descr
A binutils/pkg-plist
A binutils/pkg-plist-aarch64
A binutils/pkg-plist-aarch64-none-elf
A binutils/pkg-plist-amd64
A binutils/pkg-plist-arm-gnueabi
A binutils/pkg-plist-arm-none-eabi
A binutils/pkg-plist-avr
A binutils/pkg-plist-i386
A binutils/pkg-plist-mingw32
A binutils/pkg-plist-mips
A binutils/pkg-plist-mips64
A binutils/pkg-plist-powerpc
A binutils/pkg-plist-powerpc64
A binutils/pkg-plist-riscv32-unknown-elf
A binutils/pkg-plist-riscv64
A binutils/pkg-plist-riscv64-none-elf
A binutils/pkg-plist-s390x
A binutils/pkg-plist-sparc64
Checked out revision 529050.
I don't see any 'libcft-failures.diff' patch file there.
I also tried
svn co http://svn.freebsd.org/ports/head/devel/binutils
A binutils/Makefile
A binutils/distinfo
A binutils/files
A binutils/files/patch-bfd_elfnn-aarch64.c
A binutils/files/patch-bfd_elfnn-riscv.c
A binutils/files/patch-bfd_elfxx-sparc.c
A binutils/files/patch-gas-configure.tgt
A binutils/files/patch-include__safe-ctype.h
A binutils/files/patch-mips64.diff
A binutils/files/patch-s390x.diff
A binutils/pkg-descr
A binutils/pkg-plist
A binutils/pkg-plist-aarch64
A binutils/pkg-plist-aarch64-none-elf
A binutils/pkg-plist-amd64
A binutils/pkg-plist-arm-gnueabi
A binutils/pkg-plist-arm-none-eabi
A binutils/pkg-plist-avr
A binutils/pkg-plist-i386
A binutils/pkg-plist-mingw32
A binutils/pkg-plist-mips
A binutils/pkg-plist-mips64
A binutils/pkg-plist-powerpc
A binutils/pkg-plist-powerpc64
A binutils/pkg-plist-riscv32-unknown-elf
A binutils/pkg-plist-riscv64
A binutils/pkg-plist-riscv64-none-elf
A binutils/pkg-plist-s390x
A binutils/pkg-plist-sparc64
Checked out revision 541461.
Still no sign of 'libcft-failures.diff' patch file there.
I also tried:
https://github.com/freebsd/freebsd-ports/tree/master/devel/binutils
and again no sign of 'libcft-failures.diff' patch file there.
I tried searching all the files (including '.svn' directory) and didn't find
anything suggesting the patch or 'swap' or related keywords.
This fails to build with the same link errors as in this bug report.
And the source files mentioned in 'libcft-failures.diff' patch file
are not patched.
What I used to build is:
DEBUG_FLAGS="-g -O0 -gdwarf-4"; make -dxA WITH_DEBUG=1 MAKE_JOBS_NUMBER=1
DEBUG_MK_SCRIPTS=1
and searching the resulting log I did not find any mention of
'libcft-failures.diff' patch file and no attempt to patch source files
such as elfcpp/elfcpp_swap.h
libctf/swap.h
I noticed that 'libcft-failures.diff' patch file contained a command line
+diff -x .git -x autom4te.cache -durN binutils.orig/libctf/swap.h
binutils/libctf/swap.h
Could it be that the '.git' repository has the devel/binutils with the
patch integrated but for some reason has not propagated to
http://svn.freebsd.org/ports/head/devel/binutils ?
I managed to apply the 'libcft-failures.diff' patch (to revision 529050) that
was posted as part of this bug report and it build without error.
I wish to report that this bug report is not fixed if 'fixed' means that the
normal ways of obtaining ports would automatically have this patch applied than
I fail to see how that could happen using the ports repositories mentioned
above.
By the way, I discovered that (unlike most of my other ports searches)
https://www.freebsd.org/ports/index.html
fails to show 'devel/binutils'
by specifying: search on: binutils [package name]
but can show it by: search on ^binutils [package name]
and by: https://svnweb.freebsd.org/ports/head/devel/binutils/?view=log
and by: svn co -r 529050 http://svn.freebsd.org/ports/head/devel/binutils
and by: svn co http://svn.freebsd.org/ports/head/devel/binutils
and by: https://github.com/freebsd/freebsd-ports/tree/master/devel/binutils
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list