Re: long running gcc process when building world

From: David Schultz <das_at_FreeBSD.ORG>
Date: Tue, 15 Jan 2008 10:09:22 -0500
On Tue, Jan 15, 2008, Jiawei Ye wrote:
> Having updated to -current as of Jan 14, gcc now drops in to never-ending
> compilation when building world:
> cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H
> -DPREFIX=\"/usr/obj/usr/src/tmp/usr\"
> -I/tmp/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
>  -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
> 
> This has been running for more than 5 minutes as of now. The same symptom
> occurs when building java/jdk16.

It should take a while, but not that long. I'll bet
src/lib/libc/stdlib/qsort.c,v 1.14 is the culprit.
Try updating it, then rebuild libc and gcc.
Received on Tue Jan 15 2008 - 14:09:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC