Hi there,
I can only locate the error message like "/tmp/cc4i9dn1.s:151930: Error: conditional branch out of range". But failed to reproduce this when cross build, is there anywhere to get the build option for reproducing?
Thanks.
Pan
-----Original Message----- From: ci_notify@linaro.org ci_notify@linaro.org Sent: Sunday, October 27, 2024 9:58 AM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org Subject: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
Dear contributor, our automatic CI has detected problems related to your patch(es). Please find some details below. If you have any questions, please follow up on linaro-toolchain@lists.linaro.org mailing list, Libera's #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the usual project channel.
We understand that it might be difficult to find the necessary logs or reproduce the issue locally. If you can't get what you need from our CI within minutes, let us know and we will be happy to help.
We track this report status in https://linaro.atlassian.net/browse/GNU-1389 , please let us know if you are looking at the problem and/or when you have a fix.
In bootstrap_build master-arm-bootstrap_profiled after:
| commit gcc-15-4672-gdf4af89bc3e | Author: Pan Li pan2.li@intel.com | Date: Thu Oct 24 21:57:04 2024 +0800 | | Match: Simplify branch form 3 of unsigned SAT_ADD into branchless | | There are sorts of forms for the unsigned SAT_ADD. Some of them are | complicated while others are cheap. This patch would like to simplify | the complicated form into the cheap ones. For example as below: | ... 65 lines of the commit log omitted.
Results changed to # reset_artifacts: -10 # true: 0 # build_abe bootstrap_profiled: # FAILED # First few build errors in logs: # 01:33:58 make[3]: *** [Makefile:1195: gimple-match-1.o] Error 1 # 01:33:58 make[2]: *** [Makefile:5220: all-stageprofile-gcc] Error 2 # 01:33:58 make[1]: *** [Makefile:26089: stageprofile-bubble] Error 2 # 01:33:58 make: *** [Makefile:26343: profiledbootstrap] Error 2
From # reset_artifacts: -10 # true: 0 # build_abe bootstrap_profiled: 1
The configuration of this build is: CI config tcwg_bootstrap_build master-arm-bootstrap_profiled configure and test flags: --target arm-linux-gnueabihf
-----------------8<--------------------------8<--------------------------8<-------------------------- The information below can be used to reproduce a debug environment:
Current build : https://ci.linaro.org/job/tcwg_bootstrap_build--master-arm-bootstrap_profile... Reference build : https://ci.linaro.org/job/tcwg_bootstrap_build--master-arm-bootstrap_profile...
Instruction to reproduce the build : https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha...
Full commit : https://gcc.gnu.org/git/?p=gcc.git%3Ba=commitdiff%3Bh=df4af89bc3eabbeaccb165...
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled...
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Sunday, October 27, 2024 3:37 PM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled...
I have a try with below command but get error like "cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU". Linux ubuntu-arm 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:20 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
_INSTALL_DIR=$1 ../configure --target=arm-linux-gnueabihf \ --enable-language=c,c++ \ --enable-bootstrap \ --disable-multilib \ --with-arch=armv7-a \ --prefix=${_INSTALL_DIR} make -j64 && make install
Any suggestions for reproducing this issue ?
Pan
-----Original Message----- From: Li, Pan2 Sent: Sunday, October 27, 2024 3:41 PM To: Sam James sam@gentoo.org Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Sunday, October 27, 2024 3:37 PM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled...
Hi!
On Mon, 28 Oct 2024 at 08:56, Li, Pan2 via Gcc-regression gcc-regression@gcc.gnu.org wrote:
I have a try with below command but get error like "cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU". Linux ubuntu-arm 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:20 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
_INSTALL_DIR=$1 ../configure --target=arm-linux-gnueabihf \ --enable-language=c,c++ \ --enable-bootstrap \ --disable-multilib \ --with-arch=armv7-a \ --prefix=${_INSTALL_DIR} make -j64 && make install
Any suggestions for reproducing this issue ?
It seems the problem is even more tricky than "just" bootstrap: AFAICS the "bootstrap" builds passed, the "bootstrap_profiled" and "bootstrap_profiled_lto_lean" failed.
So, you need to configure with --enable-bootstrap and build with 'make profiledbootstrap'.
In addition, the problem occurs on arm targets, as opposed to aarch64, so the easiest for you is probably to start a container in aarch32 (aka arm) mode on an aarch64 machine (provided its CPU supports that mode). Once in the container, you don't need to use --target XXX --with-arch=YYY configure options.
Good luck,
Christophe
Pan
-----Original Message----- From: Li, Pan2 Sent: Sunday, October 27, 2024 3:41 PM To: Sam James sam@gentoo.org Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Sunday, October 27, 2024 3:37 PM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled...
On Oct 27, 2024, at 20:40, Li, Pan2 pan2.li@intel.com wrote:
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
You could use one of aarch64 machines in GCC's compiler farm. If that doesn't work -- send me a private email and I'll create a docker container for you on one of Linaro machines.
-- Maxim Kuvyrkov https://www.linaro.org
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Sunday, October 27, 2024 3:37 PM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled... _______________________________________________ linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org To unsubscribe send an email to linaro-toolchain-leave@lists.linaro.org
Thanks, let me have a try first and will back to you if still cannot reproduce this.
Pan
-----Original Message----- From: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Sent: Wednesday, October 30, 2024 7:39 AM To: Li, Pan2 pan2.li@intel.com Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: Re: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
On Oct 27, 2024, at 20:40, Li, Pan2 pan2.li@intel.com wrote:
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
You could use one of aarch64 machines in GCC's compiler farm. If that doesn't work -- send me a private email and I'll create a docker container for you on one of Linaro machines.
-- Maxim Kuvyrkov https://www.linaro.org
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Sunday, October 27, 2024 3:37 PM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled... _______________________________________________ linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org To unsubscribe send an email to linaro-toolchain-leave@lists.linaro.org
The docker multi-isa doesn't work well here, I will apply an account from compiler farm...
Pan
-----Original Message----- From: Li, Pan2 Sent: Wednesday, October 30, 2024 9:32 AM To: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
Thanks, let me have a try first and will back to you if still cannot reproduce this.
Pan
-----Original Message----- From: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Sent: Wednesday, October 30, 2024 7:39 AM To: Li, Pan2 pan2.li@intel.com Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: Re: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
On Oct 27, 2024, at 20:40, Li, Pan2 pan2.li@intel.com wrote:
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
You could use one of aarch64 machines in GCC's compiler farm. If that doesn't work -- send me a private email and I'll create a docker container for you on one of Linaro machines.
-- Maxim Kuvyrkov https://www.linaro.org
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Sunday, October 27, 2024 3:37 PM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled... _______________________________________________ linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org To unsubscribe send an email to linaro-toolchain-leave@lists.linaro.org
No response from the compiler farm.
But due to some more discussion for the simplification on SAT, this patch is reverted. Thus I bet this build error should be gone up to a point. Please feel free to ping me if any issues.
Pan
-----Original Message----- From: Li, Pan2 Sent: Monday, November 4, 2024 4:07 PM To: 'Maxim Kuvyrkov' maxim.kuvyrkov@linaro.org Cc: 'Sam James' sam@gentoo.org; 'gcc-regression@gcc.gnu.org' gcc-regression@gcc.gnu.org; 'Jeff Law' jeffreyalaw@gmail.com; 'juzhe.zhong@rivai.ai' juzhe.zhong@rivai.ai; 'kito.cheng@gmail.com' kito.cheng@gmail.com; 'Linaro ToolChain' linaro-toolchain@lists.linaro.org; 'rdapp@ventanamicro.com' rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
The docker multi-isa doesn't work well here, I will apply an account from compiler farm...
Pan
-----Original Message----- From: Li, Pan2 Sent: Wednesday, October 30, 2024 9:32 AM To: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
Thanks, let me have a try first and will back to you if still cannot reproduce this.
Pan
-----Original Message----- From: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Sent: Wednesday, October 30, 2024 7:39 AM To: Li, Pan2 pan2.li@intel.com Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: Re: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
On Oct 27, 2024, at 20:40, Li, Pan2 pan2.li@intel.com wrote:
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
You could use one of aarch64 machines in GCC's compiler farm. If that doesn't work -- send me a private email and I'll create a docker container for you on one of Linaro machines.
-- Maxim Kuvyrkov https://www.linaro.org
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Sunday, October 27, 2024 3:37 PM To: Li, Pan2 pan2.li@intel.com Cc: gcc-regression@gcc.gnu.org; jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
It's not possible to do a profiledbootstrap via cross. It might be possible for the Linaro CI to extract the bad preprocessed source and share the options used to build it (options at least should be in the log) but that won't help if the compiler is miscompiled... _______________________________________________ linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org To unsubscribe send an email to linaro-toolchain-leave@lists.linaro.org
"Li, Pan2" pan2.li@intel.com writes:
No response from the compiler farm.
But due to some more discussion for the simplification on SAT, this patch is reverted. Thus I bet this build error should be gone up to a point. Please feel free to ping me if any issues.
Take Maxim up on their offer, I think? It's possible the issue is latent so worth looking into nonetheless.
Pan
-----Original Message----- From: Li, Pan2 Sent: Monday, November 4, 2024 4:07 PM To: 'Maxim Kuvyrkov' maxim.kuvyrkov@linaro.org Cc: 'Sam James' sam@gentoo.org; 'gcc-regression@gcc.gnu.org' gcc-regression@gcc.gnu.org; 'Jeff Law' jeffreyalaw@gmail.com; 'juzhe.zhong@rivai.ai' juzhe.zhong@rivai.ai; 'kito.cheng@gmail.com' kito.cheng@gmail.com; 'Linaro ToolChain' linaro-toolchain@lists.linaro.org; 'rdapp@ventanamicro.com' rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
The docker multi-isa doesn't work well here, I will apply an account from compiler farm...
Pan
-----Original Message----- From: Li, Pan2 Sent: Wednesday, October 30, 2024 9:32 AM To: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
Thanks, let me have a try first and will back to you if still cannot reproduce this.
Pan
-----Original Message----- From: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Sent: Wednesday, October 30, 2024 7:39 AM To: Li, Pan2 pan2.li@intel.com Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: Re: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
On Oct 27, 2024, at 20:40, Li, Pan2 pan2.li@intel.com wrote:
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
You could use one of aarch64 machines in GCC's compiler farm. If that doesn't work -- send me a private email and I'll create a docker container for you on one of Linaro machines.
Take Maxim up on their offer, I think? It's possible the issue is latent so worth looking into nonetheless.
I see, I will ping Maxim later for this as I am in the middle of sth.
Pan
-----Original Message----- From: Sam James sam@gentoo.org Sent: Wednesday, November 13, 2024 10:32 AM To: Li, Pan2 pan2.li@intel.com Cc: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: Re: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
"Li, Pan2" pan2.li@intel.com writes:
No response from the compiler farm.
But due to some more discussion for the simplification on SAT, this patch is reverted. Thus I bet this build error should be gone up to a point. Please feel free to ping me if any issues.
Take Maxim up on their offer, I think? It's possible the issue is latent so worth looking into nonetheless.
Pan
-----Original Message----- From: Li, Pan2 Sent: Monday, November 4, 2024 4:07 PM To: 'Maxim Kuvyrkov' maxim.kuvyrkov@linaro.org Cc: 'Sam James' sam@gentoo.org; 'gcc-regression@gcc.gnu.org' gcc-regression@gcc.gnu.org; 'Jeff Law' jeffreyalaw@gmail.com; 'juzhe.zhong@rivai.ai' juzhe.zhong@rivai.ai; 'kito.cheng@gmail.com' kito.cheng@gmail.com; 'Linaro ToolChain' linaro-toolchain@lists.linaro.org; 'rdapp@ventanamicro.com' rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
The docker multi-isa doesn't work well here, I will apply an account from compiler farm...
Pan
-----Original Message----- From: Li, Pan2 Sent: Wednesday, October 30, 2024 9:32 AM To: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: RE: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
Thanks, let me have a try first and will back to you if still cannot reproduce this.
Pan
-----Original Message----- From: Maxim Kuvyrkov maxim.kuvyrkov@linaro.org Sent: Wednesday, October 30, 2024 7:39 AM To: Li, Pan2 pan2.li@intel.com Cc: Sam James sam@gentoo.org; gcc-regression@gcc.gnu.org; Jeff Law jeffreyalaw@gmail.com; juzhe.zhong@rivai.ai; kito.cheng@gmail.com; Linaro ToolChain linaro-toolchain@lists.linaro.org; rdapp@ventanamicro.com Subject: Re: [Linaro-TCWG-CI] gcc-15-4672-gdf4af89bc3e: Failure on arm
On Oct 27, 2024, at 20:40, Li, Pan2 pan2.li@intel.com wrote:
I see, this error may require bootstrap build. There is no aarch64 machine currently. Let me try to find one somewhere.
You could use one of aarch64 machines in GCC's compiler farm. If that doesn't work -- send me a private email and I'll create a docker container for you on one of Linaro machines.
linaro-toolchain@lists.linaro.org