Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2020 03:13:12 +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: r539793 - head/cad/graywolf
Message-ID:  <202006220313.05M3DC0o062873@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Jun 22 03:13:11 2020
New Revision: 539793
URL: https://svnweb.freebsd.org/changeset/ports/539793

Log:
  cad/graywolf: Unbreak build with GCC 10 (-fno-common)
  
  /usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x5e40): multiple definition of `yyss'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x5e40): first defined here
  /usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x6240): multiple definition of `yyssp'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x6240): first defined here
  /usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x4ea0): multiple definition of `yyvs'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x4ea0): first defined here
  /usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x6238): multiple definition of `yyvsp'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x6238): first defined here
  
  http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/graywolf-0.1.6.3_1.log
  
  PR:		246700

Modified:
  head/cad/graywolf/Makefile

Modified: head/cad/graywolf/Makefile
==============================================================================
--- head/cad/graywolf/Makefile	Mon Jun 22 02:29:01 2020	(r539792)
+++ head/cad/graywolf/Makefile	Mon Jun 22 03:13:11 2020	(r539793)
@@ -24,4 +24,6 @@ USE_LDCONFIG=	yes
 
 USE_GCC=	any # lots of obviously incorrect C where clang fails, which gcc nevertheless magically finds a way to compile
 
+CFLAGS+=	-fcommon
+
 .include <bsd.port.mk>



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