* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
@ 2023-01-23 13:02 ` segher at gcc dot gnu.org
2023-01-23 13:09 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: segher at gcc dot gnu.org @ 2023-01-23 13:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
This error is from sysv4.h SUBTARGET_OVERRIDE_OPTIONS. -msecure-plt is
unconditionally required.
It looks like an oversight that it is not required in the assembler you
used (which is that?)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
2023-01-23 13:02 ` [Bug target/108491] " segher at gcc dot gnu.org
@ 2023-01-23 13:09 ` rguenth at gcc dot gnu.org
2023-01-23 15:30 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-01-23 13:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
how did you configure? does the build pick up the host tools?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
2023-01-23 13:02 ` [Bug target/108491] " segher at gcc dot gnu.org
2023-01-23 13:09 ` rguenth at gcc dot gnu.org
@ 2023-01-23 15:30 ` pinskia at gcc dot gnu.org
2023-01-24 13:28 ` marxin at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-23 15:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2023-01-23
Status|UNCONFIRMED |WAITING
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Did you compile binutils first?
Are you doing a combined build?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2023-01-23 15:30 ` pinskia at gcc dot gnu.org
@ 2023-01-24 13:28 ` marxin at gcc dot gnu.org
2023-01-24 13:28 ` marxin at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-01-24 13:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
~/Programming/gcc2/configure --enable-languages=c --prefix=/home/marxin/bin/gcc
--disable-bootstrap --disable-multilib --disable-libsanitizer
--target=powerpc-freebsd13
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2023-01-24 13:28 ` marxin at gcc dot gnu.org
@ 2023-01-24 13:28 ` marxin at gcc dot gnu.org
2023-01-24 13:35 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-01-24 13:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 54334
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54334&action=edit
Configure and build log
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
` (4 preceding siblings ...)
2023-01-24 13:28 ` marxin at gcc dot gnu.org
@ 2023-01-24 13:35 ` pinskia at gcc dot gnu.org
2023-01-24 13:43 ` segher at gcc dot gnu.org
2023-01-24 13:52 ` amonakov at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-24 13:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WONTFIX
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
checking for as... no
checking for powerpc-freebsd13-as... no
So the answer to my question of did you compile binutils first is no and you
are not doing a combined build either:
checking where to find the target as... pre-installed
So this is not a bug that needs to be fixed really.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
` (5 preceding siblings ...)
2023-01-24 13:35 ` pinskia at gcc dot gnu.org
@ 2023-01-24 13:43 ` segher at gcc dot gnu.org
2023-01-24 13:52 ` amonakov at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: segher at gcc dot gnu.org @ 2023-01-24 13:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |INVALID
--- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> ---
It is not a bug even.
However, our documentation could be clearer that you need a working assembler
and linker etc., and the hint that putting binutils in the same prefix (before
doing GCC) makes everything automatically work could be helpful?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler
2023-01-23 9:53 [Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler marxin at gcc dot gnu.org
` (6 preceding siblings ...)
2023-01-24 13:43 ` segher at gcc dot gnu.org
@ 2023-01-24 13:52 ` amonakov at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: amonakov at gcc dot gnu.org @ 2023-01-24 13:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Isn't this what --with-gnu-as --with-gnu-ld options are for?
^ permalink raw reply [flat|nested] 9+ messages in thread