Opened 12 years ago

Closed 12 years ago

#33657 closed defect (fixed)

boost 1.49 fails unter 10.5.8 PPC

Reported by: drechsel@… Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: boost

Description (last modified by mf2k (Frank Schima))

-sICU_PATH=/opt/local variant=release threading=single,multi link=static,shared architecture=power address-model=32 --disable-long-double " returned error 1

Attachments (2)

boost-1.49_main.log (821.3 KB) - added by drechsel@… 12 years ago.
boost-gcc42-main.log (5.6 KB) - added by drechsel@… 12 years ago.

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by drechsel@…

Attachment: boost-1.49_main.log added

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

Owner: changed from macports-tickets@… to adfernandes@…

comment:2 Changed 12 years ago by adfernandes (Andrew Fernandes)

Hmm... the relevant lines are

:info:build darwin.compile.c++.pch bin.v2/libs/math/build/darwin-4.0.1/release/address-model-32/architecture-power/../src/tr1/pch.hpp.gch
:info:build 
:info:build     "/usr/bin/g++-4.0" -x c++-header -O3 -finline-functions -Wno-inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -fexceptions -Wno-long-double -fPIC -arch ppc  -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/darwin-4.0.1/release/address-model-32/architecture-power/../src/tr1/pch.hpp.gch" "libs/math/build/../src/tr1/pch.hpp"
:info:build 
:info:build ./boost/math/special_functions/modf.hpp:68: internal compiler error: Bus error

I'm not sure how to fix this, other than set another build compiler (and requirements, etc.) which is something that I can't test.

I don't know if 32-bit/ppc under gcc-4.0.1 is still supported by boost, actually. That's a pretty old combination, and I doubt that they test much on it. You might have to stick with 1.48 and install manually.

Anybody else have any fixes or suggestions? (Perhaps removing the precompiled headers would help? Again, I can't test on 10.5/ppc...)

Changed 12 years ago by drechsel@…

Attachment: boost-gcc42-main.log added

comment:3 Changed 12 years ago by drechsel@…

Hi, thanks for the quick reply. It took me an hour to find out that gcc_select no longer works as it used to… )-:

Now I switched to Apple's gcc42 and tried again - and again so success, but it looks like another failure. I attached the last few lines of the log

comment:4 Changed 12 years ago by drechsel@…

Sorry - I meant "no success"…

comment:5 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:6 Changed 12 years ago by drechsel@…

Building went through after I changend permissions in my working directory. Dunno why… Ticket can be closed.

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

Resolution: fixed
Status: newclosed

Gha! Glad you figured it out!

And thanks for adding the resolution to the ticket!

Note: See TracTickets for help on using tickets.