Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2008 10:09:22 -0500
From:      David Schultz <das@FreeBSD.ORG>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        freebsd-current <freebsd-current@FreeBSD.ORG>
Subject:   Re: long running gcc process when building world
Message-ID:  <20080115150921.GA56295@VARK.MIT.EDU>
In-Reply-To: <c21e92e20801141609o2fa003d0gbac5e8f23a817146@mail.gmail.com>
References:  <c21e92e20801141609o2fa003d0gbac5e8f23a817146@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080115150921.GA56295>