Andreas Enge <andr...@enge.fr> skribis: > On Tue, May 31, 2016 at 11:36:21PM +0200, Ludovic Courtès wrote: >> Quick observation: one of the file has debugging symbols, the other not. >> Apart from that, section sizes are very similar: > > That is understandable, the debugging symbols come from stage 2, the files > without from stage 3. > > > To check for an easy work-around, I tested to upgrade the standard gcc > from 5.3 to 6.1. But this fails as follows:
Upgrading GCC is never this easy. ;-) > I find this: > 105038:libtool: compile: gcc -DHAVE_CONFIG_H -I. > -I../../../gcc-5.3.0/mpc/src -I.. > -I/tmp/guix-build-gcc-5.3.0.drv-0/build/./gmp > -I/tmp/guix-build-gcc-5.3.0.drv-0/gcc-5.3.0/mpfr/src -g -MT real.lo -MD -MP > -MF .deps/real.Tpo -c ../../../gcc-5.3.0/mpc/src/real.c -o real.o > 115976:libtool: compile: > /tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/xgcc > -B/tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/ > -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ > > -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ > > -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/lib/ > -isystem > /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/include > -isystem > /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/sys-include > -DHAVE_CONFIG_H -I. -I../../../gcc-5.3.0/mpc/src -I.. > -I/tmp/guix-build-gcc-5.3.0.drv-0/build/./gmp > -I/tmp/guix-build-gcc-5.3.0.drv-0/gcc-5.3.0/mpfr/src -O2 -g0 -gtoggle -MT > real.lo -MD -MP -MF .deps/real.Tpo -c ../../../gcc-5.3.0/mpc/src/real.c -o > real.o > 126915:libtool: compile: > /tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/xgcc > -B/tmp/guix-build-gcc-5.3.0.drv-0/build/./prev-gcc/ > -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ > > -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/bin/ > > -B/gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/lib/ > -isystem > /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/include > -isystem > /gnu/store/6xdd64b8343v9vd3nkhkkqg7mayyxvwp-gcc-5.3.0/arm-unknown-linux-gnueabihf/sys-include > -DHAVE_CONFIG_H -I. -I../../../gcc-5.3.0/mpc/src -I.. > -I/tmp/guix-build-gcc-5.3.0.drv-0/build/./gmp > -I/tmp/guix-build-gcc-5.3.0.drv-0/gcc-5.3.0/mpfr/src -O2 -g0 -MT real.lo -MD > -MP -MF .deps/real.Tpo -c ../../../gcc-5.3.0/mpc/src/real.c -o real.o This is the wrong one; you should look at gcc/real.c instead. Thanks for helping out! Ludo’.