Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 14:38:06 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r539767 - head/net/ipxe
Message-ID:  <202006211438.05LEc6Xm095831@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} \



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