On Thu, Jun 01, 2023 at 03:53:05PM +0200, Udo Grabowski (IMK) wrote: > On 01/06/2023 15:49, Marcel Telka wrote: > > I just noticed this: > > > > $ /usr/gcc/11/bin/gcc -pie a.c > > gcc: error: -pie is not supported in this configuration > > $ /usr/gcc/10/bin/gcc -pie a.c > > gcc: error: -pie is not supported in this configuration > > $ /usr/gcc/7/bin/gcc -pie a.c > > gcc: error: -pie is not supported in this configuration > > $ > > > > Any idea what is wrong wit -pie at OI? > > Is it possible to make it working? > > > > Isn't it -fpie ?
No, on Rocky Linux 8 it works: $ gcc -pie a.c $ echo $? 0 $ gcc --version gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ -- +-------------------------------------------+ | Marcel Telka e-mail: [email protected] | | homepage: http://telka.sk/ | +-------------------------------------------+ _______________________________________________ oi-dev mailing list [email protected] https://openindiana.org/mailman/listinfo/oi-dev
