svn commit: r539767 - head/net/ipxe

Tobias Kortkamp tobik at FreeBSD.org
Sun Jun 21 14:38:06 UTC 2020


Author: tobik
Date: Sun Jun 21 14:38:06 2020
New Revision: 539767
URL: https://svnweb.freebsd.org/changeset/ports/539767

Log:
  net/ipxe: Unbreak build with GCC 10
  
  /usr/local/bin/ld: bin/blib.a(dmfe.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here
  /usr/local/bin/ld: bin/blib.a(epic100.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here
  /usr/local/bin/ld: bin/blib.a(pxe_preboot.o):/wrkdirs/usr/ports/net/ipxe/work/ipxe-9ee70fb95bc266885ff88be228b044a2bb226eeb/src/include/ipxe/isapnp.h:237: multiple definition of `isapnp_read_port'; bin/blib.a(isapnp.o):(.bss+0x0): first defined here
  /usr/local/bin/ld: bin/blib.a(sis900.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here
  /usr/local/bin/ld: bin/blib.a(sundance.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here
  /usr/local/bin/ld: bin/blib.a(tlan.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here
  /usr/local/bin/ld: bin/blib.a(tulip.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here
  /usr/local/bin/ld: bin/blib.a(w89c840.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here
  
  http://package22.nyi.freebsd.org/data/113amd64-default-PR244008/2020-06-10_18h05m01s/logs/errors/ipxe-20200314.log
  
  PR:		246700

Modified:
  head/net/ipxe/Makefile

Modified: head/net/ipxe/Makefile
==============================================================================
--- head/net/ipxe/Makefile	Sun Jun 21 14:09:11 2020	(r539766)
+++ head/net/ipxe/Makefile	Sun Jun 21 14:38:06 2020	(r539767)
@@ -24,6 +24,7 @@ MAKE_ARGS=	AR=${AR} \
 		ARCH=${ARCH:S/amd64/i386/} \
 		AS=${AS} \
 		CC=${CC} \
+		EXTRA_CFLAGS="-fcommon" \
 		HOST_CC=${CC} \
 		LD=${LD} \
 		NM=${NM} \


More information about the svn-ports-all mailing list