On Fri, Nov 05, 2021 at 10:00:32PM +0100, Christian Weisgerber wrote:
> I ran another amd64 bulk build with base clang updated to LLVM 13.
> I also put in a tentative fix for security/nss.
> 
> Failure logs:
> http://build-failures.rhaalovely.net/amd64-clang/2021-11-04/
> 
> Some very basic triage below.  The single biggest problem is linker
> failures of this kind:
> ld: error: /usr/local/lib/libintl.so.7.0: undefined reference to 
> pthread_mutexattr_init [--no-allow-shlib-undefined]
> 
> The most criticial individual port failure is security/pinentry,
> which takes out security/gnupg, which prevents hundreds of ports
> from being built.
> 
> devel/xtensa-lx106-elf/binutils     -Werror,-Wunused-but-set-variable

Below should fix this. ok?

-- 

Tracey Emery

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/xtensa-lx106-elf/binutils/Makefile,v
retrieving revision 1.3
diff -u -p -u -r1.3 Makefile
--- Makefile    25 Oct 2021 10:17:09 -0000      1.3
+++ Makefile    8 Nov 2021 15:25:21 -0000
@@ -5,7 +5,7 @@ COMMENT =       binutils for ${CONFIG} cross-d
 VERSION =      2.32
 DISTNAME =     binutils-${VERSION}
 PKGNAME =      ${CONFIG}-binutils-${VERSION}
-REVISION =     0
+REVISION =     1
 
 GH_ACCOUNT =   bminor
 GH_PROJECT =   binutils-gdb
@@ -15,7 +15,8 @@ WANTLIB += ${COMPILER_LIBCXX} c curses e
 
 CONFIGURE_ARGS +=      --disable-multilib \
                        --with-gnu-as \
-                       --with-gnu-ld
+                       --with-gnu-ld \
+                       --disable-werror
 
 BUILD_DEPENDS +=       lang/gawk
 

Reply via email to