[libgcc8] compile failure on i386 on 10.6 Snow
Bjarne D Mathiesen
macintosh at mathiesen.info
Thu Aug 29 20:58:56 UTC 2019
OK - I've re-installed the toolchain so presently I've got :
#=> port installed name:^clang name:^llvm name:*gcc*
The following ports are currently installed:
clang-3.4 @3.4.2_12
clang-3.7 @3.7.1_5+analyzer (active)
clang-5.0 @5.0.2_3+analyzer+defaultlibcxx+emulated_tls+libstdcxx (active)
clang-8.0 @8.0.0_0+analyzer+defaultlibcxx+emulated_tls+libstdcxx (active)
clang_select @2_0 (active)
llvm-3.4 @3.4.2_12
llvm-3.7 @3.7.1_4 (active)
llvm-5.0 @5.0.2_0 (active)
llvm-8.0 @8.0.0_0+emulated_tls (active)
llvm_select @2_0 (active)
buildfromsource always
cxx_stdlib libc++
default_compilers macports-clang-5.0 macports-clang-3.7 gcc-4.2
apple-gcc-4.2 macports-clang-3.4
And I'm getting :
/macports/bin/clang++-mp-5.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
Now, Ken Cunningham wrote :
that is a 32 bit error that is usually suppressed by passing
"-read_only_relocs suppress"' to the linker, IIRC.
Is there a way in which I can apply that setting ?!?
Should I file a bug for this issue ???
--
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 :
17" 2011 MacBook Pro ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
2012 Mac Pro ; 2 x 3.46GHz 6-Core Xeon ; 48GB
MacOS X 10.6.8 Snow Leopard :
Mac Mini ; 2GHz Core 2 Duo (64 bit) ; 4GB (3GB actual) 667MHz
Mac Mini ; 1.83GHz Core Duo (32 bit) ; 2GB 667Mhz
More information about the macports-users
mailing list