Date: Sat, 24 Sep 2011 12:08:26 GMT From: Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/160973: [PATCH] math/gotoblas cannot build with gcc46 Message-ID: <201109241208.p8OC8QQL051318@red.freebsd.org> Resent-Message-ID: <201109241210.p8OCA38n011136@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160973 >Category: ports >Synopsis: [PATCH] math/gotoblas cannot build with gcc46 >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: Sat Sep 24 12:10:03 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eijiro Shibusawa >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: FreeBSD myhost.jp 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The build error occurs as a result of wrong configuration, Makefile.conf and Makefile_kernel.conf, which are created by a perl script "f_check". The attached patch fixes the script so that it does not generate empty linker flag "-l". >How-To-Repeat: Please refer http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.8.20110919075211/gotoblas-2.1.13_2.log . >Fix: Patch attached with submission follows: diff -uNr /usr/ports/math/gotoblas/./files/patch-f_check ./gotoblas/./files/patch-f_check --- /usr/ports/math/gotoblas/./files/patch-f_check 1970-01-01 09:00:00.000000000 +0900 +++ ./gotoblas/./files/patch-f_check 2011-09-24 19:57:27.000000000 +0900 @@ -0,0 +1,10 @@ +--- f_check.orig 2011-09-24 19:54:38.000000000 +0900 ++++ f_check 2011-09-24 19:56:32.000000000 +0900 +@@ -274,6 +274,7 @@ + && ($flags !~ /kernel32/) + && ($flags !~ /advapi32/) + && ($flags !~ /shell32/) ++ && (!($flags eq '-l')) + ) { + $linker_l .= $flags . " "; + } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109241208.p8OC8QQL051318>