Re: Error related to GCC LTO optimization for GMP at ARM AArch64

2023-01-09 Thread Some One
Hi, `configure --disable-assembly` solves the problem. Thanks! пн, 9 янв. 2023 г. в 11:09, Torbjörn Granlund : > Some One writes: > > Dear GMP devs, > > As I reported the same issue to gentoo bugzilla and retried to reproduce > for them with all logs attached, > I've found out that

Re: Error related to GCC LTO optimization for GMP at ARM AArch64

2023-01-09 Thread Torbjörn Granlund
Some One writes: Dear GMP devs, As I reported the same issue to gentoo bugzilla and retried to reproduce for them with all logs attached, I've found out that iproute2 magically started to compile OK. However, there were other sources whose compilation was broken. Unfortunately, I

Re: Error related to GCC LTO optimization for GMP at ARM AArch64

2023-01-08 Thread Some One
As I've just researched iproute2 started to compile since I had upgraded dev-libs/mpfr from 4.1.1_p1 to 4.2.0, however liblinear and cmake still hang no matter if mpfr compiled with LTO or not. сб, 7 янв. 2023 г. в 16:10, Some One : > Dear GMP devs, > > As I reported the same issue to gentoo

Re: Error related to GCC LTO optimization for GMP at ARM AArch64

2023-01-08 Thread Some One
Dear GMP devs, As I reported the same issue to gentoo bugzilla and retried to reproduce for them with all logs attached, I've found out that iproute2 magically started to compile OK. However, there were other sources whose compilation was broken. Another example with all previous flags for GMP:

Re: Error related to GCC LTO optimization for GMP at ARM AArch64

2023-01-06 Thread Some One
Hi, Let me try to reproduce the whole process with original GMP source: 1. I've downloaded https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz 2. Exported my CFLAGS with LTO enabled: export COMMON_FLAGS="-O3 -march=native -mcpu=native -pipe -funroll-loops \ -fomit-frame-pointer -fforce-addr

Re: Error related to GCC LTO optimization for GMP at ARM AArch64

2023-01-06 Thread Torbjörn Granlund
Some One writes: I've found the problem related to GCC LTO optimization for GMP for ARM aarch64 under QEMU with ARM Neoverse-N1 virt-4.2 (Oracle Cloud) and ARM virt-7.2 (Apple M1) both running the latest Gentoo with gmp-6.2.1-r5 compiled by both gcc version 11.3.1 20221209 and gcc

Error related to GCC LTO optimization for GMP at ARM AArch64

2023-01-06 Thread Some One
Dear GMP developers, I've found the problem related to GCC LTO optimization for GMP for ARM aarch64 under QEMU with ARM Neoverse-N1 virt-4.2 (Oracle Cloud) and ARM virt-7.2 (Apple M1) both running the latest Gentoo with gmp-6.2.1-r5 compiled by both gcc version 11.3.1 20221209 and gcc version