ports/160973: [PATCH] math/gotoblas cannot build with gcc46

Eijiro Shibusawa phd_kimberlite at yahoo.co.jp
Sat Sep 24 12:10:08 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list