Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 05:08:18 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Christoph Illnar <illnar@communitor.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: make buildworld is always braking at various points
Message-ID:  <20070107180818.GG839@turion.vk2pj.dyndns.org>
In-Reply-To: <45A12368.3060705@communitor.com>
References:  <45A12368.3060705@communitor.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, 2007-Jan-07 17:44:24 +0100, Christoph Illnar wrote:
>I keep having troubles compiling either 6.1-RELEASE and 6.2-RC2.
>I downloaded sources, extracted them with install.sh and did a cvsup.
>
>My installed system is 6.1-RELEASE and I keep trying to compile it on my 
>own.

Is the failure consistent?  I suspect you may have bad RAM.

>===> lib/libpthread (all)
>
>[.......... lines suppressed ......]
>
>cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DPTHREAD_KERNEL 
>-I/usr/src/lib/libpthread/../libc/include 
>-I/usr/src/lib/libpthread/thread 
>-I/usr/src/lib/libpthread/../../include 
>-I/usr/src/lib/libpthread/arch/i386/include 
>-I/usr/src/lib/libpthread/sys 
>-I/usr/src/lib/libpthread/../../libexec/rtld-elf 
>-I/usr/src/lib/libpthread/../../libexec/rtld-elf/i386 -fno-builtin 
>-D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall 
>-I/usr/src/lib/libpthread/../libc/i386  -c 
>/usr/src/lib/libpthread/thread/thr_condattr_init.c
>
>cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DPTHREAD_KERNEL 
>-I/usr/src/lib/libpthread/../libc/include 
>-I/usr/src/lib/libpthread/thread 
>-I/usr/src/lib/libpthread/../../include 
>-I/usr/src/lib/libpthread/arch/i386/include 
>-I/usr/src/lib/libpthread/sys 
>-I/usr/src/lib/libpthread/../../libexec/rtld-elf 
>-I/usr/src/lib/libpthread/../../libexec/rtld-elf/i386 -fno-builtin 
>-D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall 
>-I/usr/src/lib/libpthread/../libc/i386  -c 
>/usr/src/lib/libpthread/thread/thr_condattr_pshared.c
>
>make: don't know how to make 
>/usr/src.lib/libpthread/arch/i386/include/pthread_md.h. Stop
>*** Error code 2

Note that:
1) "/usr/src.lib/" does not normally exist;
2)  "." and "/" differ by 1 bit;
3) The cc line shows "-I/usr/src/lib/libpthread/arch/i386/include";
4) Compiling thr_condattr_init.c uses the same #include sequence to
   successfully load "pthread_md.h";
5) None of the test build boxes are reporting any problems.

Please try running a memory test, or swapping your RAM.

-- 
Peter Jeremy

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFoTcS/opHv/APuIcRAgt9AKCeIp8/CQPoP5IrI166oiIOcyO6EQCgv2ip
tBwKjqdVAQlw3EC2UM1g8yQ=
=CqlK
-----END PGP SIGNATURE-----

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