From owner-freebsd-current@freebsd.org Fri Dec 28 01:20:57 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 896431429F24 for ; Fri, 28 Dec 2018 01:20:57 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f179.google.com (mail-it1-f179.google.com [209.85.166.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C34046D285 for ; Fri, 28 Dec 2018 01:20:56 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f179.google.com with SMTP id p197so25669889itp.0 for ; Thu, 27 Dec 2018 17:20:56 -0800 (PST) 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=JbYh0gnTR6LVsC6l3K38SbKjVGkA9LQ0jdRyOEjFbww=; b=A5ZQmVI1F446j5Qvs/Qqvm84MevymX5O1kCBOwhGgg7nNePQh4aleR52qM+W7WzVpw xsRmJ0wiN8TONltv6WqfCIJo95NH2AJpIievfaS1q6J5V+tAj6kikH5+ZHU/Qy0L4C3x zzp7i+GZHNE0NhR2gWaO4hbkEz6smsGuHBiKsF5Y8KOhuOviEGM+GCfCbyZVgnPwPwc8 l1B+abNFjhZ+k+GXYO++//qteBXud9EwXQqyJBW3SqJ+oEeQVjJQkTd6cIEyIUaWlsdT z4vJF0+t4/RQF1UztP+KEaSbFuEVawv9khos8RUTPICGDk04ccVAWzo+US9Iky8tGulS MRvQ== X-Gm-Message-State: AA+aEWbrEcu1mVcaoqkbd3BNoa4QvzL5eHhFsjzcaCzFg6yJkDZIKQck VZ/+dcV0E7otfz1A+IP05A4yJP4XxGAqJHbB1mU= X-Google-Smtp-Source: AFSGD/UJRo1G6mSvIXPT1kKwCk3WpsHcVrrybmeZsiCcbXMwn0yyi/O65NddGTuotN55E8oy7+rjgsBvtlPLX0CwIrU= X-Received: by 2002:a24:c105:: with SMTP id e5mr15897884itg.87.1545960050175; Thu, 27 Dec 2018 17:20:50 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Thu, 27 Dec 2018 20:20:37 -0500 Message-ID: Subject: Re: buildworld falure: truncated or malformed archive To: Warner Losh Cc: Ryan Stone , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: C34046D285 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.179 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-5.69 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[179.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.81)[-0.813,0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[179.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; IP_SCORE(-2.86)[ip: (-9.05), ipnet: 209.85.128.0/17(-3.68), asn: 15169(-1.51), country: US(-0.08)]; FREEMAIL_CC(0.00)[gmail.com] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2018 01:20:57 -0000 On Thu, 27 Dec 2018 at 19:16, Warner Losh wrote: > > On Thu, Dec 27, 2018, 5:29 PM Ed Maste > >> On Thu, 27 Dec 2018 at 14:35, Ryan Stone wrote: >> > >> > I seem to recall something about libarchive or ar having a bug >> > creating archives > 4GB, >> >> Indeed, FreeBSD's bespoke ar does not support the /SYM64/ format >> needed for offsets >4GB. imp@ also ran into this; I'm not sure what's >> causing libclang.a to be >4GB. Is there one object file that's >> unreasonably large? > > > For me it was a DEBUG_FLAGS=-g I had in make.conf that I'd forgotten about. > > Ar should fail to create a .a that's >4GB. Yes - at least, one with a symbol table. It's PR234454. Next month two co-op students will start working for the FreeBSD Foundation and adding 64-bit /SYM64/ support to ar will probably make a good starting project for one of them.