Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52158 closed defect (fixed)

fftw-3 @3.3.5: configure: error: cannot compute sizeof (size_t)

Reported by: erik@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: leopard Cc: ryandesign (Ryan Carsten Schmidt), dgonyier (Dwaine Gonyier), bryancn, ridethecliche@…
Port: fftw-3

Description

Config failure

Attachments (2)

main.log (17.2 KB) - added by erik@… 8 years ago.
config.log (82.6 KB) - added by erik@… 8 years ago.

Download all attachments as: .zip

Change History (13)

Changed 8 years ago by erik@…

Attachment: main.log added

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: leopard added
Owner: changed from macports-tickets@… to sean@…
Summary: fftw-3 3.3.5 fails to build on Mac OS X 10.5.8 (darwin9)fftw-3 @3.3.5: configure: error: cannot compute sizeof (size_t)

Could you attach the config.log too, please?

Changed 8 years ago by erik@…

Attachment: config.log added

comment:2 Changed 8 years ago by erik@…

Added config.log 3 days ago...

comment:3 Changed 8 years ago by seanfarley (Sean Farley)

Cc: ryandesign@… added
Status: newassigned

Sorry for the delay. My time is always stretched. It seems the error is:

ld: unknown option: -no_compact_unwind

It appears you're using gcc-4.2 on 10.5 ... which I have no access to. Ryan, do you have any ideas?

comment:4 Changed 8 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier@… added

Cc Me!

comment:5 Changed 8 years ago by bryancn

Cc: bryan.nunweek@… added

Cc Me!

comment:6 Changed 8 years ago by ridethecliche@…

Cc: ridethecliche@… added

Cc Me!

comment:7 in reply to:  6 Changed 8 years ago by ridethecliche@…

I had this issue on my Leopard machine as well: "ld: unknown option: -no_compact_unwind" Removing all references to this in the configure file allowed the build to succeed.

Just for fun I did an uninstall/clean/rebuild with configure.compiler=apple-gcc-4.2 -- That worked!

comment:8 Changed 8 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Ah, very cool. If someone can whip up a patch, I can apply it.

comment:9 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

You could try adding gcc-4.2 to compiler.blacklist.

comment:10 Changed 8 years ago by seanfarley (Sean Farley)

Oh, ha, I always forget about that setting. I'll push that up in my queue.

comment:11 Changed 8 years ago by seanfarley (Sean Farley)

Fixed in r153380!

Note: See TracTickets for help on using tickets.