[bug #68488] Build fails with flang (unknown argument -fvisibility=hidden)

asch <[email protected]> Mon, 29 Jun 2026 13:09:01 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
--===============7426350025351110094==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK

--===============7426350025351110094==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-1714636915-1782752941=:381405"
Content-Disposition: inline

--8323329-1714636915-1782752941=:381405
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/bugs/?68488>=0A=0A                 Summa=
ry: Build fails with flang (unknown argument=0A-fvisibility=3Dhidden)=0A   =
                Group: GNU Octave=0A               Submitter: asch=0A      =
         Submitted: Mon 29 Jun 2026 05:08:56 PM UTC=0A                Categ=
ory: Configuration and Build System=0A                Severity: 3 - Normal=
=0A                Priority: 5 - Normal=0A              Item Group: Build F=
ailure=0A                  Status: None=0A             Assigned to: None=0A=
         Originator Name:=0A        Originator Email:=0A             Open/C=
losed: Open=0A         Discussion Lock: Unlocked=0A                 Release=
: 11.1.0=0A        Operating System: GNU/Linux=0A           Fixed Release: =
None=0A         Planned Release: None=0A=0A=0A    _________________________=
______________________________=0A=0AFollow-up Comments:=0A=0A=0A-----------=
--------------------------------------------=0ADate: Mon 29 Jun 2026 05:08:=
56 PM UTC By: asch <asch>=0Alibtool: compile:  flang -fPIC -march=3Dnative =
-O2 -fvisibility=3Dhidden=0A-march=3Dnative -O2 -c liboctave/external/ranli=
b/advnst.f  -fPIC -o=0Aliboctave/external/ranlib/.libs/ad=0Avnst.o=0Aflang-=
22: error: unknown argument: '-fvisibility=3Dhidden'=0A=0AI don't know if t=
his is a flang or octave bug, but nonetheless I decided to=0Areport it here=
 as well, just in case.=0A=0AWorkaround: passing --disable-lib-visibility-f=
lags to configure=0A=0A=0A=0A=0A=0A=0A    _________________________________=
______________________=0AFile Attachments:=0A=0AName: build.log            =
          Size: 1.9MiB=0A    <https://file.savannah.gnu.org/file/build.log?=
file_id=3D58765>=0A=0AName: config.log                     Size: 1.9MiB=0A =
   <https://file.savannah.gnu.org/file/config.log?file_id=3D58766>=0A=0A=0A=
=0A    AGPL NOTICE=0A=0AThese attachments are served by Savane. You can dow=
nload the corresponding=0Asource code of Savane at=0Ahttps://savannah.gnu.o=
rg/source/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz=0A=0A    _=
______________________________________________________=0A=0AReply to this i=
tem at:=0A=0A  <https://savannah.gnu.org/bugs/?68488>=0A=0A________________=
_______________________________=0AMessage sent via Savannah=0Ahttps://savan=
nah.gnu.org/=0A
--8323329-1714636915-1782752941=:381405
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCakKmrQAKCRCqLAuaBUf3
TskTAQDqieSYZa7pIwuLIRGTPLk/qu/D7Ccna60vlUGgcLJyrgEA2/mbwVpgi7lv
UwmbWEpzQ3Hr2OlC07p5EqOngegAuwY=
=mgd2
-----END PGP SIGNATURE-----

--8323329-1714636915-1782752941=:381405--



--===============7426350025351110094==--