On Fri, Feb 02, 2018 at 12:25:56AM -0800, Carlos O'Donell wrote: > At present I can't build glibc in rawhide because make segfaults: > > + make -j4 -O -r 'CFLAGS=-mtune=generic -g -O2 -fstack-clash-protection' > make -r PARALLELMFLAGS="" -C .. objdir=`pwd` all > make: *** [Makefile:9: all] Segmentation fault (core dumped) > error: Bad exit status from /var/tmp/rpm-tmp.g0o5R3 (%build) > > cvc4 shows the same problem: > > Making all in src > /bin/sh: line 12: 16161 Segmentation fault (core dumped) make $local_target > > We should tag in the last known good make. > > I've run out of time to debug this but I wanted to pass on my notes. > > (1) Run the testsuite. > > If the package you rebuild has a testsuite please make sure you run it > and review the results. > > The make testsuite was not run, there is a driver problem with it. > > Sadly, the make testsuite hasn't been run since F26: > https://kojipkgs.fedoraproject.org//packages/make/4.2.1/2.fc26/data/logs/x86_64/build.log > where it passed with no failures. > > We should strive hard to make sure that testsuite runs every time, > and that the results are 100% pass. > > (2) make segfaults here. > > #0 0x00005555557b1ad1 in ?? () > #1 0x00007ffff6fd4c7b in glob_in_dir () from /lib64/libc.so.6 > #2 0x00007ffff6fd5b9f in glob@@GLIBC_2.27 () from /lib64/libc.so.6 > #3 0x000055555557551c in parse_file_seq () > #4 0x00005555555673f7 in func_wildcard () > #5 0x0000555555569501 in handle_function () > #6 0x0000555555562cfb in variable_expand_string () > #7 0x0000555555563833 in allocated_variable_expand_for_file () > #8 0x00005555555671cf in func_foreach () > #9 0x0000555555569501 in handle_function () > #10 0x0000555555562cfb in variable_expand_string () > #11 0x00005555555773c7 in eval () > #12 0x00005555555775f1 in eval_makefile () > #13 0x00005555555767ce in eval () > #14 0x00005555555775f1 in eval_makefile () > #15 0x0000555555577a38 in read_all_makefiles () > #16 0x000055555555e375 in main () > > You have to set follow-fork-mode child, and set detach-on-fork off > to catch the faulting child process in gdb (and flip between processes > to run them in sequence). > > (3) Building make-4.2.1-5 in F27 works. > > A `fedpkg local` build of make make-4.2.1-5.fc28 results in binaries > that work. This worries me a little because it looks like a toolchain > interaction. > > When I come back online I'll keep trying to fix this. Sorry, I pushed the change which broke this, to get around a build problem with glibc 2.27. In my defense, this ‘make’ works fine ... on riscv64 :-) Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx