https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212

--- Comment #154 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
(In reply to John Paul Adrian Glaubitz from comment #151)
> (In reply to Kazumoto Kojima from comment #147)
> > (In reply to John Paul Adrian Glaubitz from comment #145)
> > 
> > Looks that some error occured durring configuring target libgomp.
> > Unfortunately we can't see what is going on from that log.  If
> > /<<PKGBUILDDIR>>/build/sh4-linux-gnu/libgomp/config.log exists, it might
> > have more details.
> 
> OK, thanks for the suggestion. I will try another build but keep the
> buildroot after the failure and then inspect the various configuration
> files. I will report back later today or tomorrow.

Managed to reproduce the error with an error message:

(unstable-sh4-sbuild)glaubitz@acrux:/build/gcc-14-7reYr0/gcc-14-14.2.0/build/sh4-linux-gnu/libgomp$
/build/gcc-14-7reYr0/gcc-14-14.2.0/build/./gcc/xgcc
-B/build/gcc-14-7reYr0/gcc-14-14.2.0/build/./gcc/ -B/usr/sh4-linux-gnu/bin/
-B/usr/sh4-linux-gnu/lib/ -isystem /usr/sh4-linux-gnu/include -isystem
/usr/sh4-linux-gnu/sys-include -isystem
/build/gcc-14-7reYr0/gcc-14-14.2.0/build/sys-include -fno-checking
-DHAVE_CONFIG_H -I. -I../../../src/libgomp -I../../../src/libgomp/config/posix
-I../../../src/libgomp -I../../../src/libgomp/../include -Wall
-ftls-model=initial-exec -pthread -DUSING_INITIAL_EXEC_TLS -g -O2 -MT
affinity-fmt.lo -MD -MP -MF .deps/affinity-fmt.Tpo -c
../../../src/libgomp/affinity-fmt.c -o affinity-fmt.o
../../../src/libgomp/affinity-fmt.c: In function 'gomp_display_affinity':
../../../src/libgomp/affinity-fmt.c:437:1: error: unable to find a register to
spill
  437 | }
      | ^
../../../src/libgomp/affinity-fmt.c:437:1: error: this is the insn:
(insn 1939 564 567 70 (set (reg:SI 537 [orig:214 _146 ] [214])
        (reg:SI 214 [ _146 ])) "../../../src/libgomp/affinity-fmt.c":203:13 191
{movsi_ie}
     (nil))
../../../src/libgomp/affinity-fmt.c:437: confused by earlier errors, bailing
out
(unstable-sh4-sbuild)glaubitz@acrux:/build/gcc-14-7reYr0/gcc-14-14.2.0/build/sh4-linux-gnu/libgomp$

The error message is not visible during boot due to ">/dev/null 2>&1" at the
end of the command line.

Reply via email to