Opened 11 years ago

Closed 11 years ago

#40181 closed defect (duplicate)

gsl @1.16: build fails with variants +gcc47 and +optimize requested

Reported by: petrrr Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: daitakahashi
Port: gsl

Description

The port would not build with both variants activated. I guess the problem is here:

libtool: compile:  /opt/local/bin/gcc-mp-4.7 -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -pipe -Os -march=native -ftree-vectorize -O3 -m64 -MT prec.lo -MD -MP -MF .deps/prec.Tpo -c prec.c  -fno-common -DPIC -o .libs/prec.o
{standard input}:8:no such instruction: `vmovapd %xmm0, %xmm1'
{standard input}:9:no such instruction: `vmovsd LC0(%rip), %xmm0'
{standard input}:10:no such instruction: `vmovsd %xmm1, (%rsp)'
[...]

It builds without problems if only one of these variants is requested. I could imagine that these two variants effectively are incompatible, but this should be handled.

I attach the complete main.log

Attachments (1)

gsl+gcc47+optimized.main.log (78.1 KB) - added by petrrr 11 years ago.
main.log with +gcc47 and +optimize

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by petrrr

main.log with +gcc47 and +optimize

comment:1 Changed 11 years ago by daitakahashi

This is a duplicate #38271.

comment:2 Changed 11 years ago by petrrr

Right, I have not associated that ticket immediately with the given problem. Sorry for this! I guess, this ticket can be closed.

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.