bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make 4.3.90 breaks makefile of dtc


From: Andreas Schwab
Subject: Make 4.3.90 breaks makefile of dtc
Date: Thu, 22 Sep 2022 10:38:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

>From 
><https://build.opensuse.org/package/live_build_log/Base:System/dtc/openSUSE_Tumbleweed/x86_64>:

set -e; echo '  CHK version_gen.h'; mkdir -p ./;        (echo "#define 
DTC_VERSION \"DTC 1.6.1\""; ) < Makefile > version_gen.h.tmp; if [ -r 
version_gen.h ] && cmp -s version_gen.h version_gen.h.tmp; then rm -f 
version_gen.h.tmp; else echo '       UPD version_gen.h'; mv -f 
version_gen.h.tmp version_gen.h; fi;
        CHK version_gen.h
bison -b dtc-parser -d dtc-parser.y
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-lexer.lex.o dtc-lexer.lex.d" 
dtc-lexer.lex.c > dtc-lexer.lex.d
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-parser.tab.o dtc-parser.tab.d" 
dtc-parser.tab.c > dtc-parser.tab.d
Makefile:253: pipe: Too many open files
set -e; echo '  CHK version_gen.h'; mkdir -p ./;        (echo "#define 
DTC_VERSION \"DTC 1.6.1\""; ) < Makefile > version_gen.h.tmp; if [ -r 
version_gen.h ] && cmp -s version_gen.h version_gen.h.tmp; then rm -f 
version_gen.h.tmp; else echo '       UPD version_gen.h'; mv -f 
version_gen.h.tmp version_gen.h; fi;
        CHK version_gen.h
bison -b dtc-parser -d dtc-parser.y
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-lexer.lex.o dtc-lexer.lex.d" 
dtc-lexer.lex.c > dtc-lexer.lex.d
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-parser.tab.o dtc-parser.tab.d" 
dtc-parser.tab.c > dtc-parser.tab.d
Makefile:253: pipe: Too many open files
set -e; echo '  CHK version_gen.h'; mkdir -p ./;        (echo "#define 
DTC_VERSION \"DTC 1.6.1\""; ) < Makefile > version_gen.h.tmp; if [ -r 
version_gen.h ] && cmp -s version_gen.h version_gen.h.tmp; then rm -f 
version_gen.h.tmp; else echo '       UPD version_gen.h'; mv -f 
version_gen.h.tmp version_gen.h; fi;
        CHK version_gen.h
bison -b dtc-parser -d dtc-parser.y
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-lexer.lex.o dtc-lexer.lex.d" 
dtc-lexer.lex.c > dtc-lexer.lex.d
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-parser.tab.o dtc-parser.tab.d" 
dtc-parser.tab.c > dtc-parser.tab.d
Makefile:253: pipe: Too many open files
set -e; echo '  CHK version_gen.h'; mkdir -p ./;        (echo "#define 
DTC_VERSION \"DTC 1.6.1\""; ) < Makefile > version_gen.h.tmp; if [ -r 
version_gen.h ] && cmp -s version_gen.h version_gen.h.tmp; then rm -f 
version_gen.h.tmp; else echo '       UPD version_gen.h'; mv -f 
version_gen.h.tmp version_gen.h; fi;
        CHK version_gen.h
bison -b dtc-parser -d dtc-parser.y
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-lexer.lex.o dtc-lexer.lex.d" 
dtc-lexer.lex.c > dtc-lexer.lex.d
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -MM -MG -MT "dtc-parser.tab.o dtc-parser.tab.d" 
dtc-parser.tab.c > dtc-parser.tab.d
Makefile:253: pipe: Too many open files
set -e; echo '  CHK version_gen.h'; mkdir -p ./;        (echo "#define 
DTC_VERSION \"DTC 1.6.1\""; ) < Makefile > version_gen.h.tmp; if [ -r 
version_gen.h ] && cmp -s version_gen.h version_gen.h.tmp; then rm -f 
version_gen.h.tmp; else echo '       UPD version_gen.h'; mv -f 
version_gen.h.tmp version_gen.h; fi;
        CHK version_gen.h
bison -b dtc-parser -d dtc-parser.y
bison: cannot create pipe: Too many open files
Makefile:350: pipe: Too many open files
cc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall 
-Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wshadow -O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie  -o util.o -c util.c
Makefile:350: pipe: Too many open files
/var/tmp/rpm-tmp.buBDu0: line 33:  1095 Segmentation fault      /usr/bin/make 
-O -j4 V=1 VERBOSE=1 EXTRA_CFLAGS="-O2 -Wall -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type 
-flto=auto -g -pie" LDFLAGS="-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
-fstack-clash-protection -Werror=return-type -flto=auto -g"


There is some misbehaviour that creates an infinite loop trying to run
the bison rule.  Interestingly, this eventually runs out of file
descriptors, because, due to -O, make keeps opening new pipes for
synchronizing the output without closing any.  Without -O, this would
probably go on forever.

With make 4.3 this runs to completion without issues.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]