From owner-freebsd-ppc@freebsd.org Mon Feb 3 05:09:40 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C53E24318C for ; Mon, 3 Feb 2020 05:09:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 489wqR1WGlz44sD for ; Mon, 3 Feb 2020 05:09:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x829.google.com with SMTP id n17so9346088qtv.2 for ; Sun, 02 Feb 2020 21:09:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QwVVGBmYtOoqBjHQDRIYNfDN6XVWnQR0HfHueZDiMA0=; b=yzfuY7jn3BMsAJWu7lMKG7VhWaUYyqXmc5zCledEWDsJN85ZFI9DeX81Wg4z+sa+Hn OYSAQhInBkJQRJVil3XoMHwUG3jexSxIsX3+vtbK4WlTSnxll4qUZC7bn/nCJBoA4eEn Fcw5kyCK1MNMz6sExdHRP1Ka7ymkSG6GdtS02GsZv+Qqr4bDxr6O2pPDXPt2l+S5wyd8 4yP6WvLaciccytZ8SiJDeU3o5Xqe1SV6tCEzK5LhQBs0ODVwTQJjMdV8w9WHrSluxJfq WlrYJeIDBP9r33h6TBD/7rykaCsxDC2wo6Z3NJYzgVBglDESdvp0YLzGomN7p6YCu+57 ZECg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QwVVGBmYtOoqBjHQDRIYNfDN6XVWnQR0HfHueZDiMA0=; b=uAp8SaTrmwHEycuBKRT7rQE/FXMOowEO3FF/B74ygd3dhiCzFI8X699ce9e4MgtwGN ZLKv96mXhQkM7eQJwMQx0xtIq48lZKR+fQY0YiU10amGK+GwI64iUa387TpmQlnHtBnz v7EvqoH9RtwtURhynUnbY3VIrSUhFfueRevdg1nj6MEG5+Y/uILZH1lb23ioMYNUVAaL 0nbqdvS7Ynz+H6Ub6cgEPWDQjme2TrDbGNMJopBwlIfRgTdoD5NNh7XOJvc7UHgjyr8+ 20V14iuNhkXfiuBxyi2s3iq7jkMp4vCqpmeZAru0D+xCqN9a7oId79CyTVXdS/U+i0OG fmqA== X-Gm-Message-State: APjAAAWmZmHDrv+g0YGhdvmkPAtui0+NVVZX61nt653r2rlrb4yk4l5i q9w+Qo9OXaQyVuksIDCcWFBuVhP3LP/9GsQ2tu3X7g== X-Google-Smtp-Source: APXvYqy/+hTcnuo2tv+NuUgDQr1IrSzOJaNgTRorvDWHnFI8B41bNH6Q1MAPV2iSvMChH2sv2clY0NVfJcQEYRLwDQA= X-Received: by 2002:ac8:1308:: with SMTP id e8mr19898879qtj.242.1580706577785; Sun, 02 Feb 2020 21:09:37 -0800 (PST) MIME-Version: 1.0 References: <1EDB31B4-7372-4D8C-AF81-685E53BE4810@yahoo.com> <13FEBAFC-8D69-4BE4-9558-97617639A0B4@yahoo.com> In-Reply-To: <13FEBAFC-8D69-4BE4-9558-97617639A0B4@yahoo.com> From: Warner Losh Date: Mon, 3 Feb 2020 06:09:26 +0100 Message-ID: Subject: Re: head -r357401 broke my powerpc/powerpc64 builds: I build with sc present To: Mark Millard Cc: FreeBSD Toolchain , FreeBSD PowerPC ML X-Rspamd-Queue-Id: 489wqR1WGlz44sD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=yzfuY7jn; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::829) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.62 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[9.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.62)[ip: (-9.28), ipnet: 2607:f8b0::/32(-2.00), asn: 15169(-1.76), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2020 05:09:40 -0000 I'll take a look... that's likely my fault for fixing the bogus duplication that wasn't quite duplicated. On Mon, Feb 3, 2020 at 12:10 AM Mark Millard wrote: > [I forgot to send some context.] > > On 2020-Feb-2, at 14:51, Mark Millard wrote: > > > --- kernel.full --- > > ld: error: undefined symbol: dflt_font_8 > >>>> referenced by ofw_syscons.c > >>>> ofw_syscons.o:(.toc+0x10) > > ld: error: undefined symbol: dflt_font_14 > >>>> referenced by ofw_syscons.c > >>>> ofw_syscons.o:(.toc+0x18) > > ld: error: undefined symbol: dflt_font_16 > >>>> referenced by ofw_syscons.c > >>>> ofw_syscons.o:(.toc+0x20) > > > > This is from loss of: > > > > > > > > font.h optional sc > \ > > compile-with "uudecode < > /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'u_char > dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode > < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'u_char > dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode > < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'u_char > dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \ > > no-obj no-implicit-rule before-depend > \ > > clean "font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 > ${SC_DFLT_FONT}-8x8" > > > > > > in /head/sys/conf/files.powerpc . > > > > > > FYI for why I have sc present: > > > > Historically, I've had two PowerMac contexts, one of which > > worked with sc but not vt and another of which worked with > > vt but not sc. > > > > I build with both sc and vt present and change which is > > used as I move the media between machines. > > FYI: my powerpc* kernel config files have (using a powerpc64 > example): > > include "GENERIC64" > > . . . > > nooptions PS3 # Sony Playstation 3 > HACK!!! to allow sc > > . . . > > # HACK!!! to allow sc for 2560x1440 display on Radeon X1950 that vt > historically mishandled during booting > device sc > #device kbdmux # HACK: already listed by vt > options SC_OFWFB # OFW frame buffer > options SC_DFLT_FONT # compile font in > makeoptions SC_DFLT_FONT=cp437 > > > I'm exploring rebuilding from scratch, but it > may be that this change could use some form > of UPDATING note about how to deal with the > changes. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > >