* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
@ 2023-01-23 18:07 ` pinskia at gcc dot gnu.org
2023-01-23 18:27 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-23 18:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
2023-01-23 18:07 ` [Bug target/108505] [13 Regression] " pinskia at gcc dot gnu.org
@ 2023-01-23 18:27 ` pinskia at gcc dot gnu.org
2023-01-23 18:33 ` srinath.parvathaneni at arm dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-23 18:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
How did you configure GCC?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
2023-01-23 18:07 ` [Bug target/108505] [13 Regression] " pinskia at gcc dot gnu.org
2023-01-23 18:27 ` pinskia at gcc dot gnu.org
@ 2023-01-23 18:33 ` srinath.parvathaneni at arm dot com
2023-01-23 18:34 ` srinath.parvathaneni at arm dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: srinath.parvathaneni at arm dot com @ 2023-01-23 18:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
--- Comment #2 from Srinath Parvathaneni <srinath.parvathaneni at arm dot com> ---
/media/sripar01/2tb_work/trunk_gcc_13/src/gcc/configure'
'--target=arm-none-eabi'
'--prefix=/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/install'
'--with-gmp=/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/host-tools'
'--with-mpfr=/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/host-tools'
'--with-mpc=/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/host-tools'
'--with-isl=/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/host-tools'
'--disable-shared' '--disable-nls' '--disable-threads' '--disable-tls'
'--enable-checking=yes' '--without-cloog' '--without-isl' '--with-newlib'
'--without-headers' '--with-gnu-as' '--with-gnu-ld'
'--with-sysroot=/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/install/arm-none-eabi'
'--with-multilib-list=aprofile,rmprofile' '--with-pkgversion=unknown'
'target_alias=arm-none-eabi' 'CFLAGS=-O0 -g3' 'CXXFLAGS=-O0 -g3'
'--enable-languages=c,lto' $ac_configure_extra_args --no-create --no-recursion
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
` (2 preceding siblings ...)
2023-01-23 18:33 ` srinath.parvathaneni at arm dot com
@ 2023-01-23 18:34 ` srinath.parvathaneni at arm dot com
2023-01-23 18:40 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: srinath.parvathaneni at arm dot com @ 2023-01-23 18:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
--- Comment #3 from Srinath Parvathaneni <srinath.parvathaneni at arm dot com> ---
I introduced the bug, working on the fix.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
` (3 preceding siblings ...)
2023-01-23 18:34 ` srinath.parvathaneni at arm dot com
@ 2023-01-23 18:40 ` pinskia at gcc dot gnu.org
2023-01-24 9:58 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-23 18:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2023-01-23
Ever confirmed|0 |1
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>'--with-multilib-list=aprofile,rmprofile'
is the key here really.
The problem is there is a loop around the multilib list and
tm_file="$tm_file
arm/arm-mlib.h"
gets executed twice.
So you get arm/arm-mlib.h in the list twice and gengtype does not like that.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
` (4 preceding siblings ...)
2023-01-23 18:40 ` pinskia at gcc dot gnu.org
@ 2023-01-24 9:58 ` cvs-commit at gcc dot gnu.org
2023-01-24 10:04 ` srinath.parvathaneni at arm dot com
2023-02-08 18:40 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-01-24 9:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:275820c09e5f397040cbff69c90012dc1e220faf
commit r13-5322-g275820c09e5f397040cbff69c90012dc1e220faf
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Tue Jan 24 09:57:52 2023 +0000
arm: Fix inclusion of arm-mlib.h header more than once (pr108505).
The patch fixes the build issue for arm-none-eabi target configured with
--with-multilib-list=aprofile,rmprofile, in which case the header file
arm/arm-mlib.h is being included more than once and the toolchain build
is failing (PR108505).
gcc/ChangeLog:
2023-01-24 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/108505
* config.gcc (tm_file): Move the variable out of loop.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
` (5 preceding siblings ...)
2023-01-24 9:58 ` cvs-commit at gcc dot gnu.org
@ 2023-01-24 10:04 ` srinath.parvathaneni at arm dot com
2023-02-08 18:40 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: srinath.parvathaneni at arm dot com @ 2023-01-24 10:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
Srinath Parvathaneni <srinath.parvathaneni at arm dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Srinath Parvathaneni <srinath.parvathaneni at arm dot com> ---
Fixed in gcc-trunk.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.
2023-01-23 18:04 [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error srinath.parvathaneni at arm dot com
` (6 preceding siblings ...)
2023-01-24 10:04 ` srinath.parvathaneni at arm dot com
@ 2023-02-08 18:40 ` cvs-commit at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-02-08 18:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by SRINATH PARVATHANENI
<sripar01@gcc.gnu.org>:
https://gcc.gnu.org/g:2eeda82d6288fb2a8fbc302d98ed51337e01aaaa
commit r13-5744-g2eeda82d6288fb2a8fbc302d98ed51337e01aaaa
Author: Srinath Parvathaneni <srinath.parvathaneni@arm.com>
Date: Wed Feb 8 18:39:06 2023 +0000
arm: Optimize arm-mlib.h header inclusion [pr108505].
I have committed a fix [1] into gcc trunk for a build
issue mentioned in pr108505 and latter received few upstream
comments proposing more robust fix for this issue.
In this patch I'm addressing those comments and sending this
as a followup patch.
gcc/ChangeLog:
2023-01-27 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/108505
* config.gcc (tm_mlib_file): Define new variable.
^ permalink raw reply [flat|nested] 9+ messages in thread