Opened 7 years ago

Closed 7 years ago

#41662 closed defect (invalid)

fftw-3 build failure on Lion

Reported by: marji.booker@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: fftw-3

Description

Apologize if it is in the known issues but I have been unable to find answer. OSX 10.7.5 Failed to install gnudatalanguage because fails at fftw-3. Have done several attempts each time cleaning between. Also attempted to install just fftw-3. Attached is the log written for failure of fftw-3.

Attachments (1)

main.log (410.7 KB) - added by marji.booker@… 7 years ago.
Log file of clean install of gnudatalanguage failure pt. fftw-3

Download all attachments as: .zip

Change History (13)

Changed 7 years ago by marji.booker@…

Attachment: main.log added

Log file of clean install of gnudatalanguage failure pt. fftw-3

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ram@…
Port: fftw-3 added; gnudatalanguage removed
Summary: gnudatalanguage failing on fftw-3 stepfftw-3 build failure on Lion

In the future, please fill in the Port field with the port that actually failed to build and Cc the port maintainers (port info --maintainers fftw-3).

Actual error is:

:info:build fatal error: error in backend: Cannot select: 0x7f95b1b01c10: v4f64 = bitcast 0x7f95b1b00e10 [ORD=54] [ID=154]
:info:build   0x7f95b1b00e10: v4i64 = xor 0x7f95b1b00b10, 0x7f95b1b0cb10 [ORD=53] [ID=152]
:info:build     0x7f95b1b00b10: v4i64 = bitcast 0x7f95b1b00a10 [ORD=52] [ID=148]
:info:build       0x7f95b1b00a10: v4f64 = fmul 0x7f95b1b00710, 0x7f95b1b0c710 [ORD=51] [ID=145]
:info:build         0x7f95b1b00710: v4f64 = fsub 0x7f95b1b00510, 0x7f95b1aff310 [ORD=50] [ID=143]
:info:build           0x7f95b1b00510: v4f64 = llvm.x86.avx.vinsertf128.pd.256 0x7f95b1af8210, 0x7f95b1b00010, 0x7f95b1b00410, 0x7f95b1af8410 [ORD=48] [ID=142]
:info:build             0x7f95b1af8210: i64 = Constant<576> [ORD=21] [ID=16]
:info:build             0x7f95b1b00010: v4f64 = vector_shuffle 0x7f95b1b0d310, 0x7f95b1b0e510<0,1,4,4> [ORD=42] [ID=141]
:info:build               0x7f95b1b0d310: v4f64,ch = load 0x7f95b1afe210, 0x7f95b1b0d110, 0x7f95b1aeb310<LD32[FixedStack3]> [ID=140]
:info:build                 0x7f95b1b0d110: i64 = FrameIndex<3> [ID=55]
:info:build                 0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build               0x7f95b1b0e510: v4f64,ch = load 0x7f95b1aeb210, 0x7f95b1b0e310, 0x7f95b1aeb310<LD32[FixedStack0]> [ID=107]
:info:build                 0x7f95b1b0e310: i64 = FrameIndex<0> [ID=50]
:info:build                 0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build             0x7f95b1b00410: v2f64,ch = load 0x7f95b1affc10:1, 0x7f95b1b00310, 0x7f95b1aeb310<LD16[%scevgep3738](tbaa=!"omnipotent char")> [ORD=47] [ID=139]
:info:build               0x7f95b1b00310: i64 = add 0x7f95b1afe110, 0x7f95b1b00210 [ORD=45] [ID=134]
:info:build                 0x7f95b1afe110: i64,ch = CopyFromReg 0x101e68e48, 0x7f95b1afe010 [ORD=27] [ID=64]
:info:build                   0x7f95b1afe010: i64 = Register %vreg0 [ORD=27] [ID=21]
:info:build                 0x7f95b1b00210: i64 = shl 0x7f95b1b00110, 0x7f95b1b0e610 [ORD=45] [ID=131]
:info:build                   0x7f95b1b00110: i64 = add 0x7f95b1afed10, 0x7f95b1aff410 [ORD=44] [ID=127]
:info:build 
:info:build 
:info:build                   0x7f95b1b0e610: i8 = Constant<3> [ID=51]
:info:build               0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build             0x7f95b1af8410: i8 = Constant<1> [ORD=21] [ID=17]
:info:build           0x7f95b1aff310: v4f64 = llvm.x86.avx.vinsertf128.pd.256 0x7f95b1af8210, 0x7f95b1afec10, 0x7f95b1aff210, 0x7f95b1af8410 [ORD=35] [ID=133]
:info:build             0x7f95b1af8210: i64 = Constant<576> [ORD=21] [ID=16]
:info:build             0x7f95b1afec10: v4f64 = vector_shuffle 0x7f95b1b0d010, 0x7f95b1b0e510<0,1,4,4> [ORD=29] [ID=130]
:info:build               0x7f95b1b0d010: v4f64,ch = load 0x7f95b1affd10, 0x7f95b1b0ed10, 0x7f95b1aeb310<LD32[FixedStack2]> [ID=126]
:info:build                 0x7f95b1b0ed10: i64 = FrameIndex<2> [ID=54]
:info:build                 0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build               0x7f95b1b0e510: v4f64,ch = load 0x7f95b1aeb210, 0x7f95b1b0e310, 0x7f95b1aeb310<LD32[FixedStack0]> [ID=107]
:info:build                 0x7f95b1b0e310: i64 = FrameIndex<0> [ID=50]
:info:build                 0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build             0x7f95b1aff210: v2f64,ch = load 0x7f95b1afe910:1, 0x7f95b1aff110, 0x7f95b1aeb310<LD16[%scevgep3435](tbaa=!"omnipotent char")> [ORD=34] [ID=125]
:info:build               0x7f95b1aff110: i64 = add 0x7f95b1afe110, 0x7f95b1aff010 [ORD=32] [ID=119]
:info:build                 0x7f95b1afe110: i64,ch = CopyFromReg 0x101e68e48, 0x7f95b1afe010 [ORD=27] [ID=64]
:info:build                   0x7f95b1afe010: i64 = Register %vreg0 [ORD=27] [ID=21]
:info:build                 0x7f95b1aff010: i64 = shl 0x7f95b1afee10, 0x7f95b1b0e610 [ORD=32] [ID=116]
:info:build                   0x7f95b1afee10: i64 = add 0x7f95b1afed10, 0x7f95b1ae6b10 [ORD=31] [ID=112]
:info:build 
:info:build 
:info:build                   0x7f95b1b0e610: i8 = Constant<3> [ID=51]
:info:build               0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build             0x7f95b1af8410: i8 = Constant<1> [ORD=21] [ID=17]
:info:build         0x7f95b1b0c710: v4f64,ch = load 0x101e68e48, 0x7f95b1b0c910, 0x7f95b1aeb310<LD32[ConstantPool]> [ID=92]
:info:build           0x7f95b1b0c910: i64 = X86ISD::WrapperRIP 0x7f95b1b0c810 [ID=75]
:info:build             0x7f95b1b0c810: i64 = TargetConstantPool<<4 x double> <double 0x3FEBB67AE8584CAA, double 0x3FEBB67AE8584CAA, double 0x3FEBB67AE8584CAA, double 0x3FEBB67AE8584CAA>> 0 [ID=47]
:info:build           0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build     0x7f95b1b0cb10: v4i64,ch = load 0x101e68e48, 0x7f95b1b0cd10, 0x7f95b1aeb310<LD32[ConstantPool]> [ID=93]
:info:build       0x7f95b1b0cd10: i64 = X86ISD::WrapperRIP 0x7f95b1b0cc10 [ID=76]
:info:build         0x7f95b1b0cc10: i64 = TargetConstantPool<<4 x i64> <i64 0, i64 -9223372036854775808, i64 0, i64 -9223372036854775808>> 0 [ID=48]
:info:build       0x7f95b1aeb310: i64 = undef [ORD=20] [ID=15]
:info:build make[5]: *** [n1fv_3.lo] Error 1

comment:2 Changed 7 years ago by skymoo (Adam Mercer)

Status: newassigned

What version of Xcode are you using?

comment:3 Changed 7 years ago by skymoo (Adam Mercer)

And what is the version of clang?

comment:4 in reply to:  2 Changed 7 years ago by marji.booker@…

Replying to ram@…:

What version of Xcode are you using?

4.6.3

comment:5 in reply to:  3 Changed 7 years ago by marji.booker@…

Replying to ram@…:

And what is the version of clang?

Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix

comment:6 Changed 7 years ago by skymoo (Adam Mercer)

Looks like your command line tools are out of date as Xcode 4.6.3 should contain clang Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn), at least according to: XcodeVersionInfo#OSX10.7

Can you make sure your command line tools are up to date and check the version again?

comment:7 in reply to:  6 Changed 7 years ago by marji.booker@…

Replying to ram@…:

Looks like your command line tools are out of date as Xcode 4.6.3 should contain clang Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn), at least according to: XcodeVersionInfo#OSX10.7

Can you make sure your command line tools are up to date and check the version again?

I will download the commandline tools released this last Oct and see if that makes a difference.

comment:8 Changed 7 years ago by skymoo (Adam Mercer)

Just launch Xcode and it should prompt you to update the command line tools, if not use the Downloads tabs in the preferences.

comment:9 in reply to:  8 ; Changed 7 years ago by marji.booker@…

Replying to ram@…:

Just launch Xcode and it should prompt you to update the command line tools, if not use the Downloads tabs in the preferences.

That is how they were originally installed and then updated. However apparently that does not give you anew version of the compiler and linker. I successfully downloaded the lastest version of commandline tools for Lion and installed. I am now running sudo port install gnudatalanguage and it has passed the fftw-3.

comment:10 in reply to:  9 Changed 7 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

Replying to marji.booker@…:

That is how they were originally installed and then updated. However apparently that does not give you anew version of the compiler and linker.

it should, that's how I updated the command line tools under Lion.

I successfully downloaded the lastest version of commandline tools for Lion and installed. I am now running sudo port install gnudatalanguage and it has passed the fftw-3.

Great.

comment:11 Changed 7 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: closedreopened

comment:12 Changed 7 years ago by ryandesign (Ryan Schmidt)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.