issue building libgcc 7.3 on Snow Leopard
Ken Cunningham
ken.cunningham.webuse at gmail.com
Sun Jun 3 22:20:06 UTC 2018
If you install libmacho
sudo port -v install libmacho
you should be good to go.
If it works for you as well as it has for me, I'll add it as a build dep for 10.6. Please report back.
Best,
Ken
On 2018-06-03, at 2:46 PM, Riccardo Mottola via macports-users wrote:
> Hi,
>
> I fail to build libgcc 7.3 on Snow Leopard.
>
> This issue:
>
> https://trac.macports.org/ticket/55302
>
> still applies. I noticed that the Portifile was I updated, I tried to manually apply the same fix I used last time, but no help.
>
> checking for j0f... no
> checking for j0... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc/work/gcc-7.3.0/libsanitizer/asan/asan_mac.cc: In function 'void __asan::AsanApplyToGlobals(__asan::globals_op_fptr, const void*)':
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc/work/gcc-7.3.0/libsanitizer/asan/asan_mac.cc:84:45: error: 'getsectiondata' was not declared in this scope
> __asan_global *globals = (__asan_global *)getsectiondata(
> ^~~~~~~~~~~~~~
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc/work/gcc-7.3.0/libsanitizer/asan/asan_mac.cc:84:45: note: suggested alternative: 'getsectdata'
> __asan_global *globals = (__asan_global *)getsectiondata(
> ^~~~~~~~~~~~~~
> getsectdata
> make[4]: *** [asan_mac.lo] Error 1
>
>
> interesting thaat it happens at "checking for j0"
>
> how is it for you? can you reproduce? on the buildfarm?
>
> Thank you,
>
> Riccardo
>
More information about the macports-users
mailing list