Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38339 closed defect (fixed)

Boost 1.53 Upgrade Failed: PPC not supported in Boost.Context

Reported by: jdgleeson Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: adfernandes (Andrew Fernandes), ryandesign (Ryan Carsten Schmidt), potmj (Michael Pot)
Port: boost

Description

The context library introduced in Boost 1.53 does not have the required PPC/Mach-O asm interfaces.

See ticket:38298 for some comments related to PPC problem.

Attachments (1)

Portfile.diff (370 bytes) - added by jdgleeson 11 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 11 years ago by jdgleeson

I should have mentioned: A patch is forthcoming - I'm running a build now that I expect will disable the context library.

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

Cc: ryandesign@… added

Cc Me!

Changed 11 years ago by jdgleeson

Attachment: Portfile.diff added

comment:3 Changed 11 years ago by jdgleeson

This patch to the boost Portfile works for me.

comment:4 Changed 11 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: newclosed

r103909. Thank you very much!

comment:5 in reply to:  3 ; Changed 11 years ago by EnekoGotzon

Replying to jdgleeson@…:

This patch to the boost Portfile works for me.

Boost successfully upgraded in my PPC. Problem solved! Great work! Thank you! :)

comment:6 in reply to:  5 Changed 11 years ago by potmj (Michael Pot)

Replying to enekogotzon@…:

Replying to jdgleeson@…:

This patch to the boost Portfile works for me.

Boost successfully upgraded in my PPC. Problem solved! Great work! Thank you! :)

Nope, does not work for me, 10.5.8 +universal Intel, gcc 4.0. unsupported.cpp is one of the problems. Trying to install Gimp, fixed webkit-gtk, & gimp2, but stuck on dbus, so tried to make the quartz variant, and now so it now needs boost.

comment:7 Changed 11 years ago by adfernandes (Andrew Fernandes)

10.5 is not supported by boost, nor is gcc 4.0.

However, I've added a patch that should get you going. r104236

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

FYI this does build for me on 10.5 i386.

comment:9 in reply to:  8 ; Changed 11 years ago by adfernandes (Andrew Fernandes)

Replying to ryandesign@…:

FYI this does build for me on 10.5 i386.

What's the error, Ryan? Is it the "unsupported.cpp" thing? The context library should not be built for 10.6 or earlier (as per r104236).

comment:10 Changed 11 years ago by potmj (Michael Pot)

Cc: fmw@… added

Cc Me!

"unsupported.cpp" is just one of the many files in boost. Ploughing through the main.log, it was one of the 2 that failed for me on 10.5.8 +universal. So it's an indication of where an incompatibility might exist in the boost src, that's all.

Many thanks adfemandes@, Patch r104236 seems to work, "Activating boost @1.53.0_1+no_single+no_static+python27+universal", and gimp compiles again:-)

I'm not sure what the last version of the compiler is from apple that works on 10.5.8, but I do remember jumping through some hoops some years ago to fix the linker so wine would be able to run 16 bit code, so I hadn't upgraded, if it's not broke, don't fix.....

Many thanks
Michael

Last edited 11 years ago by potmj (Michael Pot) (previous) (diff)

comment:11 in reply to:  9 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to adfernandes@…:

Replying to ryandesign@…:

FYI this does build for me on 10.5 i386.

What's the error, Ryan?

No error. Just wanted to let you know that it does build for me. :)

comment:12 in reply to:  10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to fmw@…:

I'm not sure what the last version of the compiler is from apple that works on 10.5.8,

See wiki:XcodeVersionInfo#MacOSX10.5 for the versions of compilers included with Xcode. If you need something newer, there are MacPorts compiler ports you can install.

comment:13 in reply to:  11 Changed 11 years ago by adfernandes (Andrew Fernandes)

Replying to ryandesign@…:

Replying to adfernandes@…:

Replying to ryandesign@…:

FYI this does build for me on 10.5 i386.

What's the error, Ryan?

No error. Just wanted to let you know that it does build for me. :)

Oh - haha - read it too quickly. Thought it didn't work. Thanks for letting me know!

Note: See TracTickets for help on using tickets.