Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 11:53:47 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: make -j4 buildworld buildkernel on RELENG_9 bombs out during lib/libc (obj,depend,all,install)
Message-ID:  <alpine.BSF.2.00.1205281144190.84474@mail.fig.ol.no>
In-Reply-To: <4FC32C60.4030106@zedat.fu-berlin.de>
References:  <alpine.BSF.2.00.1205280902030.84474@mail.fig.ol.no> <alpine.BSF.2.00.1205280931470.84474@mail.fig.ol.no> <4FC32C60.4030106@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-1260983219-1338198827=:84474
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Mon, 28 May 2012 09:42+0200, O. Hartmann wrote:

> On 05/28/12 09:33, Trond Endrestøl wrote:
> > On Mon, 28 May 2012 09:17+0200, Trond Endrestøl wrote:
> > 
> >> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  ru_RU.KOI8-R.cat  /usr/obj/usr/src/tmp/usr/share/nls/ru_RU.KOI8-R/libc.cat
> >> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  sk_SK.ISO8859-2.cat  /usr/obj/usr/src/tmp/usr/share/nls/sk_SK.ISO8859-2/libc.cat
> >> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  sv_SE.ISO8859-1.cat  /usr/obj/usr/src/tmp/usr/share/nls/sv_SE.ISO8859-1/libc.cat
> >> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  uk_UA.UTF-8.cat  /usr/obj/usr/src/tmp/usr/share/nls/uk_UA.UTF-8/libc.cat
> >> 1 error
> >> *** Error code 2
> >> 1 error
> >> *** Error code 2
> >> 1 error
> >> *** Error code 2
> >> 1 error
> >>
> >> Script done on Sun May 27 20:45:37 2012
> >>
> >> All times are expressed as CEST = UTC + 2h.
> >>
> >> Complete output made during make -j4 buildworld buildkernel is 
> >> available at:
> >>
> >> http://ximalas.info/~trond/RELENG_9/make-buildworld-buildkernel-20120527f.txt
> >>
> >> The affected system is running:
> >>
> >> FreeBSD enterprise.ximalas.info 9.0-STABLE FreeBSD 9.0-STABLE #0: Sun May 27 11:54:08 CEST 2012     root@enterprise.ximalas.info:/usr/obj/usr/src/sys/ENTERPRISE  amd64
> >>
> >> /etc/src.conf contains:
> >>
> >> == cut ==
> >> # $BSDnet: config/freebsd/enterprise/etc/src.conf,v 1.5 2012-05-23 12:12:12 trond Exp $
> >> CC=clang
> >> CXX=clang++
> >> CPP=clang-cpp
> >>
> >> NO_WERROR=
> >> WERROR=
> >>
> >> WITH_CLANG_EXTRAS=yes
> >> WITH_CTF=1
> >> WITH_ICONV=yes
> >>
> >> WITH_LIBCPLUSPLUS=yes
> >> == cut ==
> >>
> >> /etc/make.conf contains:
> >>
> >> == cut ==
> >> # $BSDnet: config/freebsd/enterprise/etc/make.conf,v 1.18 2012-05-19 21:03:02 trond Exp $
> >>
> >> KERNCONF=ENTERPRISE
> >> == cut ==
> >>
> >> Serial compilation runs without any hiccups. Is parallel compilation 
> >> discouraged all of a sudden?
> > 
> > Correction: the bug happens during:
> > 
> > ===> lib/libcxxrt (obj,depend,all,install)
> 
> Same here  with "make -j8 ..." on a Dell PowerEdge1950-III.

It's good to know I'm not alone. :D

> make buildworld works fine, takes ages ...

My Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz (3109.20-MHz K8-class CPU) 
spent 01:49:51 on make buildworld buildkernel earlier this morning.

Further investigation points to libgcc_s not being available in time 
during parallel builds:

building static cxxrt library
building shared library libcxxrt.so.1
ranlib libcxxrt.a
/usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lgcc_s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
1 error
*** Error code 2

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. dir.   61 14 54 39,      | Office.....: +47 61 14 54 39,      |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
--2055831798-1260983219-1338198827=:84474--



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