Date: Mon, 26 Nov 2012 19:10:55 GMT From: Olivier Cochard-Labbe <olivier@cochard.me> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173942: net/bird and net/bird6 patch for -current Message-ID: <201211261910.qAQJAttg052658@red.freebsd.org> Resent-Message-ID: <201211261920.qAQJK1mr091145@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173942 >Category: ports >Synopsis: net/bird and net/bird6 patch for -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 26 19:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: -current >Organization: BSD Router Project >Environment: >Description: net/bird and net/bird6 didn't build on a -current (clang incompatibility?): conf.o: In function `add_tail_list': conf.c:(.text+0x90): multiple definition of `add_tail_list' cf-parse.tab.o:cf-parse.tab.c:(.text+0x90): first defined here conf.o: In function `init_list': conf.c:(.text+0x70): multiple definition of `init_list' cf-parse.tab.o:cf-parse.tab.c:(.text+0x70): first defined here conf.o: In function `insert_node': conf.c:(.text+0x40): multiple definition of `insert_node' cf-parse.tab.o:cf-parse.tab.c:(.text+0x40): first defined here conf.o: In function `rem_node': conf.c:(.text+0x60): multiple definition of `rem_node' cf-parse.tab.o:cf-parse.tab.c:(.text+0x60): first defined here cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [all.o] Error 1 gmake[2]: Leaving directory `/usr/workdir/usr/ports/net/bird6/work/bird-1.3.8/obj/conf' gmake[1]: *** [subdir] Error 2 gmake[1]: Leaving directory `/usr/workdir/usr/ports/net/bird6/work/bird-1.3.8/obj' gmake: *** [all] Error 2 *** [do-build] Error code 1 >How-To-Repeat: Build net/bird or net/bird6 on a -current. >Fix: Add this line to the makefile: USE_GCC= 4.2+ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211261910.qAQJAttg052658>