]> git.ipfire.org Git - thirdparty/gcc.git/commit
libphobos: Enable on Solaris/SPARC or with /bin/as [PR 103528]
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 11 Mar 2022 08:37:44 +0000 (09:37 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 11 Mar 2022 08:37:44 +0000 (09:37 +0100)
commit1375e2b62332351a8f9c928421cd1ea8b53c5127
treea237276c6be3ad7f078cbf5e9e0462ead6da892a
parent41bda0036ce81e7ac513f325e7b0f41ccf11cbab
libphobos: Enable on Solaris/SPARC or with /bin/as [PR 103528]

libphobos is currently only enabled on Solaris/x86 with gas.  As
discovered when gdc was switched to the dmd frontend, this initially
broke bootstrap for the other Solaris configurations.

However, it's now well possible to enable it both for Solaris/x86 with
as and Solaris/SPARC (both as and gas) since the original problems (x86
as linelength limit, among others) are long gone.

The following patch does just that.

Tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11 (both as and
gas) with gdc 9.3.0 (x86) resp. 9.4.0 (sparc, configured with
--enable-libphobos) as bootstrap compilers.

2021-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

libphobos:
PR d/103528
* configure.ac <x86_64-*-solaris2.* | i?86-*-solaris2.*>: Remove
gas requirement.
* configure: Regenerate.
* configure.tgt (sparc*-*-solaris2.11*): Mark supported.
libphobos/configure
libphobos/configure.ac
libphobos/configure.tgt