Ralf S. Engelschall wrote:
I've now tried to build our "gcc" package (GCC 4.2.0). t starts just
Ifine and compiles lots of things, but then it unfortunately fails
[...]
| strip -o libgcc_s.10.4.dylib_T${mlib} \
| -s
/Users/rse/openpkg/RPM/TMP/gcc-4.2.0/obj/../gcc/config/i386/darwin-
libgcc.10.4.ver -c -u \
| ./${mlib}/libgcc_s.1.dylib.tmp || exit 1 ; \
| done
| strip: can't open file:
/Users/rse/openpkg/RPM/TMP/gcc-4.2.0/obj/gcc/libgcc_s.1.dylib.tmp (No
such file or directory)
| make[3]: *** [libgcc_s.10.4.dylib] Error 1
| make[2]: *** [all-stage1-gcc] Error 2
| make[1]: *** [stage1-bubble] Error 2
| make: *** [bootstrap-lean] Error 2
Has anybody already seen this problem related to libgcc_s.1.dylib?
Yes, it's a known problem - Darwin doesn't support static libgcc:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26510
Was anybody already successful in building a stock GCC 4.2.0 under Mac
OS X?
My computer unfortunately started kernel panicking recently,
so I will have to downgrade to Mac OS X 10.4.8 and try again...
I think it should work without the --disable-shared, though ?
--anders
______________________________________________________________________
OpenPKG http://openpkg.org
Developer Communication List openpkg-dev@openpkg.org