[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39783 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |WONTFIX

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39783 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-16 13:52 --- code in shared libraries have to be PIC code -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread tom dot aernoudt at coware dot com
--- Comment #2 from tom dot aernoudt at coware dot com 2009-04-16 14:07 --- Aren't shared libraries that are compiled without -fPIC supposed to work on x86? On other platforms this may not work, but I thought that on x86 this is not required. --

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-04-16 14:16 --- (In reply to comment #2) Aren't shared libraries that are compiled without -fPIC supposed to work on x86? It is not supposed to work. It is happens to work. Now it happens not to work for this combination. --

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread tom dot aernoudt at coware dot com
--- Comment #4 from tom dot aernoudt at coware dot com 2009-04-16 14:52 --- That may be true, but if it would be possible to tell gcc to use the dynamic-global tls-model (or static-global) without specifying -fPIC it would again 'happen' to work, even if tls is used. I don't see a