Opened 4 years ago

Closed 4 years ago

Last modified 4 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 Schmidt), dgonyier (Dwaine Gonyier), bryancn, ridethecliche@…
Port: fftw-3

Description

Config failure

Attachments (2)

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

Download all attachments as: .zip

Change History (13)

Changed 4 years ago by erik@…

Attachment: main.log added

comment:1 Changed 4 years ago by ryandesign (Ryan 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 4 years ago by erik@…

Attachment: config.log added

comment:2 Changed 4 years ago by erik@…

Added config.log 3 days ago...

comment:3 Changed 4 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 4 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier@… added

Cc Me!

comment:5 Changed 4 years ago by bryancn

Cc: bryan.nunweek@… added

Cc Me!

comment:6 Changed 4 years ago by ridethecliche@…

Cc: ridethecliche@… added

Cc Me!

comment:7 in reply to:  6 Changed 4 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 4 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 4 years ago by ryandesign (Ryan Schmidt)

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

comment:10 Changed 4 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 4 years ago by seanfarley (Sean Farley)

Fixed in r153380!

Note: See TracTickets for help on using tickets.