Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with gcc version 4.9.3 (MacPorts gcc49 4.9.3_0) #2113

Closed
gbibek opened this issue Apr 23, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@gbibek
Copy link
Member

commented Apr 23, 2016

Compilation Log is attached here : https://gist.github.com/gbibek/f0ba7d7ecdd9cd615a8e58d971aa4abb

Boost Version : 1.59

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin15/4.9.3/lto-wrapper
Target: x86_64-apple-darwin15
Configured with: /opt/local/var/macports/build/_opt_mports_dports_lang_gcc49/gcc49/work/gcc-4.9.3/configure --prefix=/opt/local --build=x86_64-apple-darwin15 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/local/lib/gcc49 --includedir=/opt/local/include/gcc49 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.9 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.9 --with-gxx-include-dir=/opt/local/include/gcc49/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --disable-isl-version-check --with-cloog=/opt/local --disable-cloog-version-check --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts gcc49 4.9.3_0' --with-build-config=bootstrap-debug
Thread model: posix
gcc version 4.9.3 (MacPorts gcc49 4.9.3_0)

@hkaiser hkaiser added this to the 0.9.12 milestone Apr 24, 2016

@hkaiser

This comment has been minimized.

Copy link
Member

commented Apr 24, 2016

This looks like a linker problem. I'm not sure if we can do anything about it.

@AntonBikineev

This comment has been minimized.

Copy link
Contributor

commented Apr 24, 2016

The problem may be related to use of clang's linker (not that of gcc). You may try compiling hpx with apple-clang.

@gbibek

This comment has been minimized.

Copy link
Member Author

commented Apr 24, 2016

The error went away when I compiled HPX with

clang version 3.9.0 (trunk 266579)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-3.9/bin

@gbibek gbibek closed this Apr 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.