From owner-freebsd-ppc@freebsd.org Sun Jun 28 19:09:26 2015 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C23C998F882; Sun, 28 Jun 2015 19:09:26 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 85D15203F; Sun, 28 Jun 2015 19:09:26 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by igcsj18 with SMTP id sj18so65132333igc.1; Sun, 28 Jun 2015 12:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=xCSdENmHoO9YaObJY7h8vrHL3P1wRkaoEwyRHvZch90=; b=Ho6JSObG84kHZ9m6DayPNGCEsrKzgB9gum8TE5Bb0NP1VmaAL4LvKPZwtEerVSac+r gy1PFEURNpICBKTa3FCeFmXq51ouIAznAQ81qMUlQDVfhVcZYt9n3bnJUEREedpOVcHW jdX+QiQswdwHmGvFTUO0zQUM/Aa6co4HJJZGrhc85WTL0LvA41oie2cFjd9D/moAD6Vm PKw8c9QM8vDjYmsCGYQtyUY+Eo/yG74k/TVnOs6c8zIt/oBd6uTGNmusasEILmXtvMgx Vu/4TiTiFgLdHc9qodIn6G6aW3F0vpNDbrqA69RnoR2ug+GYnFyl2VJ/Afx42+6RHN0z y6AA== MIME-Version: 1.0 X-Received: by 10.42.170.74 with SMTP id e10mr13413350icz.71.1435518565762; Sun, 28 Jun 2015 12:09:25 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.69.80 with HTTP; Sun, 28 Jun 2015 12:09:25 -0700 (PDT) In-Reply-To: <8C09575A-B885-4F41-BFF8-46FEC028E755@gmail.com> References: <8C09575A-B885-4F41-BFF8-46FEC028E755@gmail.com> Date: Sun, 28 Jun 2015 12:09:25 -0700 X-Google-Sender-Auth: uCoJOiIOlLzkwanWbP7kvuA7BnQ Message-ID: Subject: Re: powerpc and powerpc64 builds broken From: Justin Hibbits To: Garrett Cooper Cc: FreeBSD Current , FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 19:09:26 -0000 On Sun, Jun 28, 2015 at 11:36 AM, Garrett Cooper wrote: > >> On Jun 28, 2015, at 10:48, Justin Hibbits wrote: >> >> Both powerpc and powerpc64 builds are broken in the same way, in >> usr.bin/mkesdb. It was working correctly as of just before BSDCan, I >> successfully built world and kernel on June 6. >> >> The error seen at this point is: >> >> cc -O2 -pipe -I/home/chmeee/freebsd/head/usr.bin/mkesdb >> -I/home/chmeee/freebsd/head/usr.bin/mkesdb/../mkesdb >> -I/home/chmeee/freebsd/head/usr.bin/mkesdb/../../lib/libc/iconv >> -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall >> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >> -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align >> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls >> -Wold-style-definition -Wno-pointer-sign >> -L/home/chmeee/world/zhabar/home/chmeee/freebsd/head/usr.bin/mkesdb/../../lib/libc >> -o mkesdb lex.o yacc.o >> /home/chmeee/world/zhabar/home/chmeee/freebsd/head/tmp/usr/bin/ld: >> undefined reference to symbol `_end' (try adding -lc) >> /home/chmeee/world/zhabar/home/chmeee/freebsd/head/tmp/lib/libc.so.7: >> could not read symbols: Bad value >> >> I've seen this both locally on my G5, and on the Power8 in the FreeBSD cluster. > > - What does file say when you run it on libc.so.7? /usr/obj/usr/src/lib/libc/libc.so.7: ELF 64-bit MSB shared object, 64-bit PowerPC or cisco 7500, version 1 (FreeBSD), dynamically linked, not stripped > - What's your current revision? r284893 > - Does it work when SRCCONF/__MAKECONF are set to /dev/null? No, the problem remains. > > Thanks! - Justin