From owner-freebsd-arch@FreeBSD.ORG Sun Apr 5 00:41:36 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F81CF92; Sun, 5 Apr 2015 00:41:36 +0000 (UTC) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31CAA8E6; Sun, 5 Apr 2015 00:41:36 +0000 (UTC) Received: by pacyx8 with SMTP id yx8so3358715pac.1; Sat, 04 Apr 2015 17:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=Q7zUZdWaESmvJVe0OqWdxsx2LFcasj8hQ62LAa4D3ko=; b=zK/3WFleOV/nZpDBYJp3mSx1OK8gL1brksKv6wn31ofCxRsMgXeQ03smvDNyxRFFnQ Tr6ARoCFBo9uOhhcNLCaRM9atXk82tRprbmyzAOiRnoZtqs44KU3HcaFUXblBMh+ave6 SQlxBiQCLFXQ4nEq8osss9K4Nc5BGhbqc2OkrV9RMYWgDkU3kOT3YFFDoxWr6rLHm9vJ T6DjHHAEJyPzAqXBHMqUe9up9QHmZUPAx5oNB/uHittY0819Pe5WWZ5wd4QhwgJ5xAq0 n5h9P/8tZia4vgpYuX0xK5h1i3sA0tNCI7ufewKAx+nUuYPuV+ocQKGyM/DgQmcXgG81 e8ww== X-Received: by 10.70.131.227 with SMTP id op3mr16110036pdb.12.1428194495723; Sat, 04 Apr 2015 17:41:35 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:981:fa61:f8b7:c531? ([2601:8:ab80:7d6:981:fa61:f8b7:c531]) by mx.google.com with ESMTPSA id eh4sm126688pbd.69.2015.04.04.17.41.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 04 Apr 2015 17:41:35 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_4B532302-9B7C-4DBC-8858-587AA842B314"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: make universe failures? From: Garrett Cooper In-Reply-To: <1428194276.82583.144.camel@freebsd.org> Date: Sat, 4 Apr 2015 17:41:34 -0700 Message-Id: References: <310573CF-443F-47BA-9F96-630107A4BD52@gmail.com> <43D75544-1458-4AE1-BCC1-DC5DB5AB72DA@gmail.com> <1428194276.82583.144.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.1878.6) Cc: Adrian Chadd , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2015 00:41:36 -0000 --Apple-Mail=_4B532302-9B7C-4DBC-8858-587AA842B314 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Apr 4, 2015, at 17:37, Ian Lepore wrote: > On Sat, 2015-04-04 at 17:36 -0700, Garrett Cooper wrote: >> On Apr 4, 2015, at 17:33, Adrian Chadd wrote: >>=20 >>> On 4 April 2015 at 17:25, Garrett Cooper = wrote: >>>> On Apr 4, 2015, at 17:22, Adrian Chadd wrote: >>>>=20 >>>>> On 4 April 2015 at 16:33, Garrett Cooper = wrote: >>>>>> On Apr 4, 2015, at 16:28, Adrian Chadd = wrote: >>>>>>=20 >>>>>>> Hi, >>>>>>>=20 >>>>>>> cc -O -pipe = -I/usr/home/adrian/work/freebsd/uverse/head/lib/libcrypt >>>>>>> -std=3Dgnu99 -Qunused-arguments >>>>>>> = -L/home/adrian/work/freebsd/uverse/obj/arm.arm/usr/home/adrian/work/freebs= d/uverse/head/tmp/usr/lib/private >>>>>>> -rpath /usr/lib/private -rpath /usr/lib/private -o crypt_tests >>>>>>> crypt_tests.o = /home/adrian/work/freebsd/uverse/obj/arm.arm/usr/home/adrian/work/freebsd/= uverse/head/lib/atf/libatf-c/libatf-c.so >>>>>>> -lcrypt >>>>>>> cc: error: no such file or directory: >>>>>>> = '/home/adrian/work/freebsd/uverse/obj/arm.arm/usr/home/adrian/work/freebsd= /uverse/head/lib/atf/libatf-c/libatf-c.so' >>>>>>>=20 >>>>>>> .. this happens for make universe on at least amd64, arm and = armeb. >>>>>>> I'm still waiting for the others to (not) complete. >>>>>>=20 >>>>>> Might be related to r280179 and r273449, but more info=B4s = needed. Your src.conf for the build host and targets would be helpful. >>>>>> Thanks! >>>>>=20 >>>>> adrian@bruce:~/work/freebsd/uverse/head % cat /etc/make.conf >>>>> cat: /etc/make.conf: No such file or directory >>>>> adrian@bruce:~/work/freebsd/uverse/head % cat /etc/src.conf >>>>> cat: /etc/src.conf: No such file or directory >>>>>=20 >>>>> adrian@bruce:~/work/freebsd/uverse/head % env >>>>> MAKEOBJDIRPREFIX=3D/home/adrian/work/freebsd/uverse/obj make -j2 >>>>> universe JFLAG=3D-j8 >>>>>=20 >>>>> Thanks for replying so quickly! >>>>=20 >>>> -j2 and JFLAG probably isn=B4t the best idea in the world. JFLAG = should be ok... >>>=20 >>> Why not? >>=20 >> Based on personal experience, parallelizing on two levels just seems = like a bad idea, especially with recursive make and when dealing with = .PHONY targets. I haven=B4t followed through the logic exactly to know = where it falls apart, but I know I always run into issues when I use -j = instead of JFLAG for specifying -j. >> Cheers, >=20 > Strange. I've never heard of JFLAG and have only ever used -j JFLAG=92s a make tinderbox/universe thing. -j would build multiple = universe targets in parallel with up to -j jobs each. Again, I don=92t know where and why things fall apart=85 it=92s just = that running multiple universes for me -j tends to get me in = trouble. I=92d have to go through and audit uses of ${.OBJDIR} to get a = better idea of why things fail... HTH! --Apple-Mail=_4B532302-9B7C-4DBC-8858-587AA842B314 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVIIS+AAoJEMZr5QU6S73eigEH/2WAwFGFshLwckeVZJTBIUHM 5TKztEwriwsLHjF66SqoD/6XZ7K91SuKwRzMO/+NnUJLr6dn0Wklv+oOddouT5uZ CKDpUKsNNpHOibhHFTXp1R8EKI5F/LMJNlyh0DSPZ0efZKOVXcyd2ayh+nuzbmgr I1ElKLsQyarxu5UJqoGaT3zS6KlNaTRSz5STDI/cSC006xFI6mDV64Thceh1d10G E7AqzSHc9DEkbPN8FUKdrPVkkGp9LqJOgH3TEZ0/NoBu5Y/iROc3B5MQ3itNlBjG y4H7GC/85TlRdo7prOCS6KZi4TvVYfuzMLQByhO3gCalBKunTdQUoLnMXpHGKQc= =QHiu -----END PGP SIGNATURE----- --Apple-Mail=_4B532302-9B7C-4DBC-8858-587AA842B314--