Hi all,

One of my colleague reported a build error with the sundial-2.5.0 package:

Début du message réexpédié :

> ----------------------
> Install src/kinsol/fcmix...
> ----------------------
> /bin/sh ../../..//libtool --mode=compile gcc-4 -I/sw/include 
> -I./../../../include -I./../../../src/kinsol -I../../..//include -O3 
> -march=native -mtune=native -c ./fkinsol.c
>  gcc-4 -I/sw/include -I./../../../include -I./../../../src/kinsol 
> -I../../..//include -O3 -march=native -mtune=native -c ./fkinsol.c  
> -fno-common -DPIC -o .libs/fkinsol.o
> /var/tmp//ccuWYhUd.s:372:no such instruction: `vmovsd (%r10), %xmm0'
> /var/tmp//ccuWYhUd.s:383:no such instruction: `vmovsd (%r10), %xmm0'
> /var/tmp//ccuWYhUd.s:393:no such instruction: `vmovsd (%r10), %xmm0'
> /var/tmp//ccuWYhUd.s:400:no such instruction: `vmovsd (%r10), %xmm0'
> /var/tmp//ccuWYhUd.s:410:no such instruction: `vmovsd (%r10), %xmm0'
> /var/tmp//ccuWYhUd.s:420:no such instruction: `vmovsd (%r10), %xmm0'
> /var/tmp//ccuWYhUd.s:427:no such instruction: `vmovsd 8(%r10), %xmm1'
> /var/tmp//ccuWYhUd.s:428:no such instruction: `vmovsd (%r10), %xmm0'
> /var/tmp//ccuWYhUd.s:435:no such instruction: `vmovsd 8(%r10), %xmm1'
> /var/tmp//ccuWYhUd.s:436:no such instruction: `vmovsd (%r10), %xmm0'
> make[1]: *** [fkinsol.lo] Error 1
> 
> sed -i -e "s|/sw/src/fink.build/root-sundials-2.5.0-1/sw|/sw|" 
> /sw/src/fink.build/root-sundials-2.5.0-1/sw/lib/*.la
> sed: impossible de lire /sw/src/fink.build/root-sundials-2.5.0-1/sw/lib/*.la: 
> No such file or directory
> ### execution of sed failed, exit code 2
> ### execution of /tmp/fink.8Xssj failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-sundials-2.5.0-1
> (Reading database ... 159922 files and directories currently installed.)
> Removing fink-buildlock-sundials-2.5.0-1 ...
> Failed: phase installing: sundials-2.5.0-1 failed
> 
> Package manager version: 0.34.8
> Distribution version: selfupdate-rsync Fri May 17 15:40:10 2013, 10.7, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.6.2
> Xcode command-line tools: 4.6.0.0.1.1365549073
> Max. Fink build jobs:  1

It looks like gcc47 (4.7.3) is producing invalid code when the -march/-mtune is 
set to native. Is this a gcc4 bug?

Sébastien
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to