Hi,

libgcc8 builds just fine on 10.6 with its default variants. Its difficult to say if your issue is due to your use of the universal variant (do you *really* need to build everything with this ??) or something else on your system.

Note, your error is quite similar to that in

https://trac.macports.org/ticket/56922

Please post information there, if you think its possibly related, or start a new ticket. its much easier to track that way than via emails. When you do remember to post *complete* log files from clean builds, not just snippets.

cheers Chris

On 03/09/18 07:21, Riccardo Mottola via macports-users wrote:
Hi all,

I hope my cctools built with clang 3.4 is working fine :)

Next in the upgrade on 10.6.8 process is libgcc which is libgcc8 now (last time I built it it was still v7 IIRC) current outdated shows for me:

libgcc                         @1.0            lang/libgcc

The following ports are currently installed:
  libgcc @7.2.0_1+universal platform='darwin 10' archs='i386 x86_64' date='2017-11-20T23:16:37+0100'   libgcc @7.3.0_0+universal platform='darwin 10' archs='i386 x86_64' date='2018-02-08T18:32:36+0100'   libgcc @7.3.0_1+universal (active) platform='darwin 10' archs='i386 x86_64' date='2018-06-04T13:09:34+0200'

Anyway, the build failure is a comparison failure of the stage. Never seen this issue building libgcc! Did you get it?
Since I build gcc as universal it is too.


make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/libgcc8/work/build' make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/libgcc8/work/build'
rm -f stage_current
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/libgcc8/work/build'
Comparing stages 2 and 3
warning: gcc/cc1obj-checksum.o differs
warning: gcc/cc1objplus-checksum.o differs
Bootstrap comparison failure!
x86_64-apple-darwin10/i386/libstdc++-v3/src/c++98/math_stubs_long_double.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/libgcc8/work/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/libgcc8/work/build'
make: *** [bootstrap-lean] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/libgcc8/work/build' Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc8/libgcc8/work/build" && /usr/bin/make -j2 -w bootstrap-lean
Exit code: 2
Error: Failed to build libgcc8: command execution failed


Riccardo

Reply via email to