[libgcc8] compile failure on i386 on 10.6 Snow
Bjarne D Mathiesen
macintosh at mathiesen.info
Tue Aug 27 10:34:24 UTC 2019
Any pointers as to what I can do to fix this ? :-)
see : https://macports.mathiesen.info/logs/libgcc8_main.log
the failure seems to be this :
/macports/bin/clang++-mp-8.0 -arch i386 -std=gnu++98 -g -DIN_GCC
-fno-strict-aliasing -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -L/macports/lib
-Wl,-headerpad_max_install_names -no-pie -o build/gengenrtl \
build/gengenrtl.o build/errors.o
../build-i386-apple-darwin10/libiberty/libiberty.a
clang: warning: argument unused during compilation: '-nopie'
[-Wunused-command-line-argument]
ld: illegal text-relocation to '___stdoutp' in /usr/lib/libSystem.dylib
from '_main' in build/gengenrtl.o for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: *** [build/gengenrtl] Error 1
I've got this in my macports.conf :
(cf https://trac.macports.org/wiki/LibcxxOnOlderSystems )
cxx_stdlib libc++
buildfromsource always
default_compilers macports-clang-8.0 macports-clang-7.0
macports-clang-3.9 macports-clang-3.7 gcc-4.2 apple-gcc-4.2 gcc-4.0
#=> port installed *gcc* clang* llvm*
The following ports are currently installed:
clang-3.7 @3.7.1_5+analyzer (active)
clang-3.9 @3.9.1_9+analyzer+libstdcxx (active)
clang-7.0 @7.0.1_1+analyzer+defaultlibcxx+emulated_tls+libstdcxx (active)
clang-8.0 @8.0.0_0+analyzer+defaultlibcxx+emulated_tls+libstdcxx (active)
clang_select @2_0 (active)
gcc6 @6.1.0_0 (active)
gcc_select @0.1_8 (active)
libgcc @6.1.0_0 (active)
llvm-3.5 @3.5.2_9 (active)
llvm-3.7 @3.7.1_4 (active)
llvm-3.9 @3.9.1_5 (active)
llvm-7.0 @7.0.1_1+emulated_tls (active)
llvm-8.0 @8.0.0_0+emulated_tls (active)
llvm_select @2_0 (active)
#=> port outdated *gcc*
The following installed ports are outdated:
gcc6 6.1.0_0 < 6.5.0_4
libgcc 6.1.0_0 < 2.0_2 (epoch 2 < 3)
--
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et (næsten) M$-frit miljø
MacOS X 10.13.6 High Sierra ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
More information about the macports-users
mailing list