#63120 closed defect (fixed)
boost176 needs a compiler that supports C++11
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | Chris Jones <jonesc@…> |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | tiger | Cc: | michaelld@…, cjones051073 (Chris Jones) |
Port: | boost176 |
Description
From configure: A C++11 capable compiler is required for building the B2 engine.
Attachments (2)
Change History (14)
Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 3 years ago by cjones051073 (Chris Jones)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Yep, and the portfile already indicates this requirement.
comment:2 Changed 3 years ago by cjones051073 (Chris Jones)
Cc: | cjones051073 added |
---|
comment:3 Changed 3 years ago by cjones051073 (Chris Jones)
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Reopening, as I have an idea how to address this.
comment:4 Changed 3 years ago by Chris Jones <jonesc@…>
Owner: | set to Chris Jones <jonesc@…> |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
comment:5 follow-up: 6 Changed 3 years ago by cjones051073 (Chris Jones)
Peter, please try again with the above.
comment:6 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
Replying to cjones051073:
CXX='/opt/local/bin/g++-mp-7'
is being used and build of the B2 engine
has just begun…
comment:7 follow-up: 8 Changed 3 years ago by cjones051073 (Chris Jones)
Peter, if boost176 still is not building please post a complete build log.
comment:8 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
Replying to cjones051073:
Yesterday, after the build failure, I decided to continue living without Poppler
since Xpdf
provides quite the same, even more, and makes no problems. So I cleaned my PowerBook G4. But – upon request the log is being recreated! This might take some time… (one PPC 7447A with one core at 1.5 GHz)
Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
Attachment: | main.2.log added |
---|
Main.log from PPC Tiger, g++-mp-7 fails to compile libs/nowide/src/cstdlib.cpp
comment:9 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
Here is the failure:
3873 :info:build "/opt/local/bin/g++-mp-7" -fvisibility-inlines-hidden -Os -std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -fPIC -m32 -O3 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_NOWIDE_DYN_LINK=1 -DBOOST_NOWIDE_NO_LFS -DNDEBUG -I"." -c -o "bin.v2/libs/nowide/build/darwin-7.5.0/release/threading-multi/visibility-hidden/cstdlib.o" "libs/nowide/src/cstdlib.cpp" 3874 :info:build libs/nowide/src/cstdlib.cpp: In function 'int boost::nowide::unsetenv(const char*)': 3875 :info:build libs/nowide/src/cstdlib.cpp:31:30: error: void value not ignored as it ought to be 3876 :info:build return ::unsetenv(key); 3877 :info:build ^ 3878 :info:build ...failed darwin.compile.c++ bin.v2/libs/nowide/build/darwin-7.5.0/release/threading-multi/visibility-hidden/cstdlib.o...
comment:11 Changed 3 years ago by cjones051073 (Chris Jones)
I've just pushed https://github.com/macports/macports-ports/commit/e5316596d177c9f6370d5817f94b94879a939405 which makes boost 1.71 the default on Darwin9 and older.
comment:12 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
boost176 @1.76.0_6
is now the standard and it builds easily (within one day). So this ticket can be closed.
Main.log from PPC Tiger