[Bug 263543] sysutils/ed2k: Fails to build with GCC 11 (all flavors)
Date: Mon, 25 Apr 2022 00:44:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263543 --- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> --- A separate, additional note tied to being able to build on aarch64 . . . The Makefile that I used to test building to match the EDK2 material used in https://github.com/pftf/RPi4 ended up with the following: USE_GCC= 11:build # Note: # I needed to use a -Wl,-rpath=/usr/local/lib/gcc* to work around # FreeBSD's /lib/libgcc_s.so.1 having incomplete/inaccurate # coverage for aarch64 g++ code generation's use of libgcc_s.so.1 . # Otherwise tools built, such as VfrCompile, get the following # when run: "ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_4.5.0 # required by /usr/local/lib/gcc11/libstdc++.so.6 not found". # I did not see a supported way to have an automatically # adjusting -Wl,-rpath=/usr/local/lib/gcc* . . . . # Avoid: "ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_4.5.0 # required by /usr/local/lib/gcc11/libstdc++.so.6 not found" # (that is from /lib/libgcc_s.so.1 having incomplete/inaccurate # coverage for aarch64 g++ code generation's use of libgcc_s.so.1 ): EXTRA_LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc11 -- You are receiving this mail because: You are the assignee for the bug.