[MacPorts] #64694: gcc/libgcc: update older systems prior to 10.6 to a newer gcc version?
MacPorts
noreply at macports.org
Tue Mar 8 23:35:36 UTC 2022
#64694: gcc/libgcc: update older systems prior to 10.6 to a newer gcc version?
----------------------------+---------------------------
Reporter: barracuda156 | Owner: (none)
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: leopard tiger
Port: libgcc, gcc10 |
----------------------------+---------------------------
Comment (by barracuda156):
Replying to [comment:4 kencu]:
> BTW -- gcc10 and gcc10-bootstrap on 10.6 PPC will build but be broken
just like all the gcc versions unless you went through that special
patchset I came up with for gcc7 and tweak it up for gcc10.
Do I get it correctly that moving to libgcc11 should be instead less
painful, since it is set as default for 10.6 normally anyway?
{{{
36-72% port -v installed libgcc11
The following ports are currently installed:
libgcc11 @11.2.0_3 (active) requested_variants='' platform='darwin 10'
archs='ppc' date='2022-03-09T07:19:42+0800'
36-72% port -v installed gcc11
The following ports are currently installed:
gcc11 @11.2.0_3 (active) requested_variants='' platform='darwin 10'
archs='ppc' date='2022-03-09T01:38:58+0800'
36-72% port -v installed libgcc
The following ports are currently installed:
libgcc @5.0_0 (active) requested_variants='' platform='darwin 10'
archs='ppc' date='2022-03-09T07:26:11+0800'
}}}
P. S. After building libgcc11 I had to deactivate libgcc7, and trying
activate it back results in:
{{{
36-72% sudo port activate libgcc7
Warning: configured user/group macports does not exist, will build as root
---> Computing dependencies for libgcc7
---> Activating libgcc7 @7.5.0_1
Error: Failed to activate libgcc7: Image error:
/opt/local/include/gcc/c++/algorithm is being used by the active libgcc11
port. Please deactivate this port first, or use 'port -f activate
libgcc7' to force the activation.
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_libgcc7-7.5.0_1_5dd4ca996c44932720b515e198a68fea5a0470b6cb5a83ba7ca31d6877e2d1b1-16766/libgcc7/main.log
for details.
Warning: Failed to execute portfile from registry for libgcc7 @7.5.0_1
---> Activating libgcc7 @7.5.0_1
Error: port activate failed: Image error:
/opt/local/include/gcc/c++/algorithm is being used by the active libgcc11
port. Please deactivate this port first, or use 'port -f activate
libgcc7' to force the activation.
}}}
Are they inherently incompatible or I should just change a setting
somewhere? I have rebuilt libgcc port.
--
Ticket URL: <https://trac.macports.org/ticket/64694#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list