From owner-freebsd-toolchain@freebsd.org Sun Apr 28 09:02:05 2019 Return-Path: Delivered-To: freebsd-toolchain@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 70F4E1577A75 for ; Sun, 28 Apr 2019 09:02:05 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mail-it1-f179.google.com (mail-it1-f179.google.com [209.85.166.179]) (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 A66A08AD99; Sun, 28 Apr 2019 09:02:04 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by mail-it1-f179.google.com with SMTP id z4so12197235itc.3; Sun, 28 Apr 2019 02:02:04 -0700 (PDT) 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=7Hups1/4l2FrID5V07gkltojV4OutvgV3OPKV307hc8=; b=iz+mYJYIkueAg8AYmXO0d28JyZX84SzERCuIHJDqp/3TJaohNE/iF6Y/UmuRJPhU3O XcoeG6UaWFp5PzjF6t3dqMTwnobM2Aq8acx9CkIF0gtrdhzrsNn2T8hAmAeB4HTpc1GO 3cDaiISg8IWRF5fHZTG3hEUUdfuzdMNZzV3WMCNIF2T8tU/dOSuOGMyP/hbBtVqJtxo7 pwp+5ur+DWhVuuOsBqVgEwwgi4JxCtMg4edq7KB1RrJfW9qW73ScLQjv6niolgBjzKI6 VekE3fat8A8G0pgy1ORGNLQXHDjxIHACAyOdcLCkMriKRz/ktKcYcGCB9mCKvLvUs8fA E0yw== X-Gm-Message-State: APjAAAUu7lFYl4+a0EPl8Hn4LlE5SWciWwSE+Gel5mLLcXYCxioauNHx ygZDc9lnrISSCfHIOZ1szhyDQRnOrhnZ7XAKMckqLQ== X-Google-Smtp-Source: APXvYqwQHjf/ULkl1ibPWUbKFilD0FE05usWstLrXMw2oSicp8ThVzjViXjw/Un6HGOSmPOuHEUB6DUIP5Cr7Qf1Hpo= X-Received: by 2002:a24:6495:: with SMTP id t143mr13561341itc.156.1556442117969; Sun, 28 Apr 2019 02:01:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dmitry Chagin Date: Sun, 28 Apr 2019 12:01:46 +0300 Message-ID: Subject: Re: stable/11 discards const qualifiers To: Dimitry Andric Cc: Dmitry Chagin , FreeBSD Toolchain , Ed Maste X-Rspamd-Queue-Id: A66A08AD99 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of chagindmitry@gmail.com designates 209.85.166.179 as permitted sender) smtp.mailfrom=chagindmitry@gmail.com X-Spamd-Result: default: False [-5.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.79)[ip: (-7.73), ipnet: 209.85.128.0/17(-3.87), asn: 15169(-2.27), country: US(-0.06)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.50)[-0.502,0]; RCVD_IN_DNSWL_NONE(0.00)[179.166.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[dchagin@freebsd.org,chagindmitry@gmail.com]; MIME_TRACE(0.00)[0:+,1:+]; 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)[dchagin@freebsd.org,chagindmitry@gmail.com]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2019 09:02:05 -0000 =D1=81=D0=B1, 27 =D0=B0=D0=BF=D1=80. 2019 =D0=B3. =D0=B2 14:01, Dimitry And= ric : > On 25 Apr 2019, at 16:01, Dmitry Chagin wrote: > > > > I'm trying to merge r331056, r331057, r331060, r331356,(by emaste@) to > the > > stable/11 and get the following error: > > > > =3D=3D=3D> linux (all) > > cc -O2 -pipe -DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 -fno-strict-aliasing > > -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS > > -include > > > /usr/home/dchagin/tmp/obj/usr/home/dchagin/freebsd/sys/GENERIC/opt_global= .h > > -I. -I/usr/home/dchagin/freebsd/sys -fno-common -g > -fno-omit-frame-pointer > > -mno-omit-leaf-frame-pointer > > -I/usr/home/dchagin/tmp/obj/usr/home/dchagin/freebsd/sys/GENERIC -MD > > -MF.depend.linux32_sysvec.o -MTlinux32_sysvec.o -mcmodel=3Dkernel > > -mno-red-zone -mno-mmx -mno-sse -msoft-float > > -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protecto= r > > -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-= dirs > > -fdiagnostics-show-option -Wno-unknown-pragmas > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -Wno-error-unused-function > > -Wno-error-pointer-sign -Wno-error-shift-negative-value > > -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=3Diso9899:= 1999 > > -c /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c -o > > linux32_sysvec.o > > /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c:322:29: > > warning: taking address of packed member 'uc_sigmask' of class or > structure > > 'l_ucontext' may result in an unaligned pointer value > > [-Waddress-of-packed-member] > > bsd_to_linux_sigset(mask, &frame.sf_sc.uc_sigmask); > > ^~~~~~~~~~~~~~~~~~~~~~ > > /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c:639:23: > > warning: taking address of packed member 'uc_sigmask' of class or > structure > > 'l_ucontext' may result in an unaligned pointer value > > [-Waddress-of-packed-member] > > linux_to_bsd_sigset(&uc.uc_sigmask, &bmask); > > ^~~~~~~~~~~~~ > > /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c:912:15: > error: > > initializing 'int *' with an expression of type 'const int []' discards > > qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] > > .sv_errtbl =3D linux_errtbl, > > ^~~~~~~~~~~~ > > 2 warnings and 1 error generated. > > *** Error code 1 > > > > Is I'm missing something? > > Yes, please also merge r329787: > > ------------------------------------------------------------------------ > r329787 | emaste | 2018-02-22 02:59:59 +0100 (Thu, 22 Feb 2018) | 6 lines > > Use 'const int *' for sysentvec errno translation table > > This allows an sv_errtbl to be read-only .rodata. > > Sponsored by: Turing Robotic Industries Inc. > > Indeed, thank you, Dimitry! From owner-freebsd-toolchain@freebsd.org Sun Apr 28 21:02:10 2019 Return-Path: Delivered-To: freebsd-toolchain@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 8BCCD158982F for ; Sun, 28 Apr 2019 21:02:10 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F38C87562A for ; Sun, 28 Apr 2019 21:02:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id B4668158981C; Sun, 28 Apr 2019 21:02:09 +0000 (UTC) Delivered-To: toolchain@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 A3222158981B for ; Sun, 28 Apr 2019 21:02:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DB4A7561F for ; Sun, 28 Apr 2019 21:02:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9549E12269 for ; Sun, 28 Apr 2019 21:02:08 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3SL288F087296 for ; Sun, 28 Apr 2019 21:02:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3SL28l1087287 for toolchain@FreeBSD.org; Sun, 28 Apr 2019 21:02:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201904282102.x3SL28l1087287@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: toolchain@FreeBSD.org Subject: Problem reports for toolchain@FreeBSD.org that need special attention Date: Sun, 28 Apr 2019 21:02:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2019 21:02:10 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 234232 | clang Assertion failed when building the port dev Open | 237068 | /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assert Open | 237074 | multimedia/vlc: 3.0.* fails to build on armv6 due 3 problems total for which you should take action. From owner-freebsd-toolchain@freebsd.org Mon Apr 29 04:54:30 2019 Return-Path: Delivered-To: freebsd-toolchain@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 B2C24158024C for ; Mon, 29 Apr 2019 04:54:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 491638B371 for ; Mon, 29 Apr 2019 04:54:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 08D2B158024B; Mon, 29 Apr 2019 04:54:30 +0000 (UTC) Delivered-To: toolchain@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 EB583158024A for ; Mon, 29 Apr 2019 04:54:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88EA78B36E for ; Mon, 29 Apr 2019 04:54:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A746C16615 for ; Mon, 29 Apr 2019 04:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3T4sScR066595 for ; Mon, 29 Apr 2019 04:54:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3T4sSS7066594 for toolchain@FreeBSD.org; Mon, 29 Apr 2019 04:54:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 216563] lang/gcc5: lang/gcc: stack alignment insufficient on i386 for SSE2 code. Date: Mon, 29 Apr 2019 04:54:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords rep_platform see_also bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 04:54:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216563 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |crash, needs-qa Hardware|Any |i386 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D40838, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D38496 Status|New |Open --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Wed May 1 05:03:46 2019 Return-Path: Delivered-To: freebsd-toolchain@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 C550D15ADE41 for ; Wed, 1 May 2019 05:03:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 566CA77406 for ; Wed, 1 May 2019 05:03:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 169D015ADE37; Wed, 1 May 2019 05:03:46 +0000 (UTC) Delivered-To: toolchain@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 0371815ADE36 for ; Wed, 1 May 2019 05:03:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6844773FD for ; Wed, 1 May 2019 05:03:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F2D56108A8 for ; Wed, 1 May 2019 05:03:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4153iPx068725 for ; Wed, 1 May 2019 05:03:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4153ibf068722 for toolchain@FreeBSD.org; Wed, 1 May 2019 05:03:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237676] LLD Filesize and default option suggestions Date: Wed, 01 May 2019 05:03:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_severity cc assigned_to short_desc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2019 05:03:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237676 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-qa Severity|Affects Only Me |Affects Some People CC| |dim@FreeBSD.org, | |emaste@freebsd.org Assignee|bugs@FreeBSD.org |toolchain@FreeBSD.org Summary|[Minor] LLD Filesize and |LLD Filesize and default |default option suggestions |option suggestions Status|New |Open --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Thu May 2 13:25:37 2019 Return-Path: Delivered-To: freebsd-toolchain@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 EB6101595BD3 for ; Thu, 2 May 2019 13:25:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 848608EDEA for ; Thu, 2 May 2019 13:25:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 456691595BD2; Thu, 2 May 2019 13:25:36 +0000 (UTC) Delivered-To: toolchain@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 32FBD1595BD1 for ; Thu, 2 May 2019 13:25:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C27C48EDE7 for ; Thu, 2 May 2019 13:25:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E88391E76 for ; Thu, 2 May 2019 13:25:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x42DPYfw089170 for ; Thu, 2 May 2019 13:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x42DPYYu089168 for toolchain@FreeBSD.org; Thu, 2 May 2019 13:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237676] LLD Filesize and default option suggestions Date: Thu, 02 May 2019 13:25:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 13:25:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237676 --- Comment #1 from Ed Maste --- As you note you can remove .comment with objcopy, I suspect the lld authors will feel the complexity of a --comment / --no-comment or similar flag is warranted. lld is inherently a cross-platform linker and intentionally has no built-in default target. Normally the format is identified from the first object fil= e - if your ELF .o has an EI_OSABI of FreeBSD the output will as well. Would you compare readelf -lS porcupine and porcupine.lld? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Thu May 2 13:26:12 2019 Return-Path: Delivered-To: freebsd-toolchain@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 6F0E71595C00 for ; Thu, 2 May 2019 13:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F416A8EE1A for ; Thu, 2 May 2019 13:26:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B7F711595BFF; Thu, 2 May 2019 13:26:11 +0000 (UTC) Delivered-To: toolchain@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 A646B1595BFE for ; Thu, 2 May 2019 13:26:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 411C68EE18 for ; Thu, 2 May 2019 13:26:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7CDFF1E7A for ; Thu, 2 May 2019 13:26:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x42DQAWT089860 for ; Thu, 2 May 2019 13:26:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x42DQABl089859 for toolchain@FreeBSD.org; Thu, 2 May 2019 13:26:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237676] LLD Filesize and default option suggestions Date: Thu, 02 May 2019 13:26:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 13:26:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237676 --- Comment #2 from Ed Maste --- (In reply to Ed Maste from comment #1) The complexity is not warranted, rather. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Thu May 2 18:02:46 2019 Return-Path: Delivered-To: freebsd-toolchain@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 23676159D11E for ; Thu, 2 May 2019 18:02:46 +0000 (UTC) (envelope-from alfredo.junior@eldorado.org.br) Received: from smtp1.eldorado.org.br (smtp1.eldorado.org.br [200.148.226.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp1.eldorado.org.br", Issuer "smtp1.eldorado.org.br" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 587C46B669 for ; Thu, 2 May 2019 18:02:43 +0000 (UTC) (envelope-from alfredo.junior@eldorado.org.br) X-AuditID: ac10c815-0ddff70000009fd6-df-5ccb2d34a8f7 Received: from serv031.corp.eldorado.org.br (Unknown_Domain [192.168.4.31]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by smtp1.eldorado.org.br (ELDORADO_SMTP) with SMTP id 5B.E8.40918.43D2BCC5; Thu, 2 May 2019 14:47:32 -0300 (-03) Received: from serv031.corp.eldorado.org.br (192.168.4.31) by serv031.corp.eldorado.org.br (192.168.4.31) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 2 May 2019 14:47:31 -0300 Received: from serv031.corp.eldorado.org.br ([fe80::c032:7018:83d3:b1e3]) by serv031.corp.eldorado.org.br ([fe80::c032:7018:83d3:b1e3%14]) with mapi id 15.00.1395.000; Thu, 2 May 2019 14:47:31 -0300 From: Alfredo Dal Ava Junior To: "freebsd-toolchain@freebsd.org" Subject: add linker option for LIB32 step on PowerPC64 Thread-Topic: add linker option for LIB32 step on PowerPC64 Thread-Index: AQHVAQ3Ni60aQf0b0k+7eggxAGOR3g== Date: Thu, 2 May 2019 17:47:31 +0000 Message-ID: <1556819251122.50364@eldorado.org.br> Accept-Language: en-US, pt-BR Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.10.70.107] MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRmVeSWpSXmKPExsVyYAWLvK6J7ukYgwd3eS1+fT3G6MDoMePT fJYAxigum5TUnMyy1CJ9uwSujC8bD7EVzOWr6Lj/nrGB8QN3FyMHh4SAicT/59ldjFwcQgIr mSSWzGtig3D2MkpcO/SbEcI5xSjR9vwtexcjJwebgK3ExfeL2EBsEQFnibZzf1hAbGEBM4kD a7pYIeLWEmvbXzFB2HoSix9dYAXZxiKgIrF0ViBImFfAUOJW+zqwkYwCshIPTzczg9jMAuIS t57MB2uVEBCQWLLnPDOELSrx8vE/VgjbQGLr0n0sELaCRPOdl6wQveES/9c+Y4SYLyhxcuYT lgmMwrOQjJ2FpGwWkjKIuJ7EjalT2CBsbYllC18zQ9i6EjP+HWJBFl/AyL6KUbQ4t6TAUC81 JyW/KDElXy+/KF0vqWgTIzBW1gicEN3B+PyH1yFGAQ5GJR7eCy9PxQixJpYVV+YeYpTgYFYS 4Y37CBTiTUmsrEotyo8vKs1JLT7EKM3BoiTOW/T8WIyQQHpiSWp2ampBahFMlomDU6qBUXH7 t7Kb55ijmMWa+CbLXN7aL+1btnNGZjLnritRj+RkNbruLPTV6582877Be63dpdvrTn9LrdHj 7xXRqMmY9Lzk6SLP1ZIq8koTubhWhFXaGDp+flS25k5e/N9f6tUh3084mX7+v+tPBdt8v+nC 623kgyYnLy3V0NgWcOiq4Toj0Y9hTwO8lViKMxINtZiLihMBfP2iz5ECAAA= X-Rspamd-Queue-Id: 587C46B669 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of alfredo.junior@eldorado.org.br designates 200.148.226.10 as permitted sender) smtp.mailfrom=alfredo.junior@eldorado.org.br X-Spamd-Result: default: False [-0.55 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.05)[-0.049,0]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:200.148.226.10]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[eldorado.org.br]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.85)[-0.854,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.32)[asn: 10429(1.55), country: BR(0.05)]; NEURAL_SPAM_SHORT(0.35)[0.346,0]; MX_GOOD(-0.01)[smtp2.eldorado.org.br,smtp1.eldorado.org.br]; RCVD_IN_DNSWL_NONE(0.00)[10.226.148.200.list.dnswl.org : 127.0.10.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:10429, ipnet:200.148.128.0/17, country:BR]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 18:02:46 -0000 Hi all, I'm working on having PowerPC64 using LLVM by default, but LLD support for = 32 bit seems to be incomplete. As workaround I'm using ld.bfd (2.17) for t= he LIB32 step. I found no way to specify the linker for LIB32 step, so I created a variabl= e called LIB32LD that I pass to "make buildworld". Apparently we'll have to= make this workaround official, so I would like to know your thoughts about= this approach or if you have some other idea to share. Thanks, Alfredo From owner-freebsd-toolchain@freebsd.org Fri May 3 02:59:11 2019 Return-Path: Delivered-To: freebsd-toolchain@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 B93B415820D4 for ; Fri, 3 May 2019 02:59:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5425184059 for ; Fri, 3 May 2019 02:59:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1132315820D3; Fri, 3 May 2019 02:59:11 +0000 (UTC) Delivered-To: toolchain@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 E2CB915820D2 for ; Fri, 3 May 2019 02:59:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68C0A84053 for ; Fri, 3 May 2019 02:59:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A582594D6 for ; Fri, 3 May 2019 02:59:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x432x9mj009730 for ; Fri, 3 May 2019 02:59:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x432x9I9009729 for toolchain@FreeBSD.org; Fri, 3 May 2019 02:59:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237676] LLD Filesize and default option suggestions Date: Fri, 03 May 2019 02:59:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pprocacci@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 02:59:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237676 --- Comment #3 from pprocacci@gmail.com --- # readelf -lS porcupine Elf file type is EXEC (Executable file) Entry point 0x400080 There are 1 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 0x000000000000009c 0x000000000000009c R E 0x200000 Section to Segment mapping: Segment Sections... 00 .text There are 3 section headers, starting at offset 0xb0: Section Headers: [Nr] Name Type Address Offset Size EntSize Flags Link Info Align [ 0] NULL 0000000000000000 00000000 0000000000000000 0000000000000000 0 0 0 [ 1] .text PROGBITS 0000000000400080 00000080 000000000000001c 0000000000000000 AX 0 0 16 [ 2] .shstrtab STRTAB 0000000000000000 0000009c 0000000000000011 0000000000000000 0 0 1 # readelf -lS porcupine.lld Elf file type is EXEC (Executable file) Entry point 0x201000 There are 4 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x0000000000000040 0x0000000000200040 0x0000000000200040 0x00000000000000e0 0x00000000000000e0 R 0x8 LOAD 0x0000000000000000 0x0000000000200000 0x0000000000200000 0x0000000000000120 0x0000000000000120 R 0x1000 LOAD 0x0000000000001000 0x0000000000201000 0x0000000000201000 0x000000000000001c 0x000000000000001c R E 0x1000 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 0 Section to Segment mapping: Segment Sections... 00 01 02 .text 03 There are 3 section headers, starting at offset 0x1030: Section Headers: [Nr] Name Type Address Offset Size EntSize Flags Link Info Align [ 0] NULL 0000000000000000 00000000 0000000000000000 0000000000000000 0 0 0 [ 1] .text PROGBITS 0000000000201000 00001000 000000000000001c 0000000000000000 AX 0 0 16 [ 2] .shstrtab STRTAB 0000000000000000 0000101c 0000000000000011 0000000000000000 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings) I (info), L (link order), G (group), x (unknown) O (extra OS processing required) o (OS specific), p (processor specific) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Fri May 3 13:34:03 2019 Return-Path: Delivered-To: freebsd-toolchain@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 776861590A07 for ; Fri, 3 May 2019 13:34:03 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f176.google.com (mail-it1-f176.google.com [209.85.166.176]) (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 9FD667199D for ; Fri, 3 May 2019 13:34:02 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f176.google.com with SMTP id r85so9006716itc.2 for ; Fri, 03 May 2019 06:34:02 -0700 (PDT) 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:content-transfer-encoding; bh=W6SE80Yzy5rHJpN+Q7cIegTe+SY36u33VKgJ0zWgo+0=; b=U2NoBZAvZlBugOXgkmXobPIS88DpJn4L6LQC/Ky7pQFmCdGMk+ty5Y/ni5snuCMJlg abv8/Mh/RFeRp7DTCkm1UD7cvPoJj/K5Ith4R4+FgwApq6jyDu03aWSE2rYYF+LQoNbV nOBj2bYeEj9hfQzra04zCXov+q/ScQd6qdtfvAIO93FW3etAfyYiRScYeEC4M8lL2A68 G6gJf6NZ3ZQDAYBu6qbPXsTnjTldlzcejoT+dyihjNzA5SEQ3pRD0FG3+Nqd2UJZfvde MKDHVnoMM99Yx6Q6diQoml3KrtE15R+LMDyLNFiLEvSwakkGC1AYGHFaxpzN+TMz9gHM 530A== X-Gm-Message-State: APjAAAXf5jqhP2e0r6IG1TsFjJfQp1RwdPkG7CKNJpIAEk765H8GCsqx ueaerwaCpRwhF7zHKSGPz1gC4Np+G+CoF7Lyi0UNlg== X-Google-Smtp-Source: APXvYqyXA30q0jTd49ZyJqLAY0+leac0p00NNesd9VV4RF4/FTS/YwEScsO6vHGeaKZtt79ce/0fHBnm3nbIFrnoiS4= X-Received: by 2002:a24:6b4b:: with SMTP id v72mr6726247itc.174.1556890436400; Fri, 03 May 2019 06:33:56 -0700 (PDT) MIME-Version: 1.0 References: <1556819251122.50364@eldorado.org.br> In-Reply-To: <1556819251122.50364@eldorado.org.br> From: Ed Maste Date: Fri, 3 May 2019 09:33:42 -0400 Message-ID: Subject: Re: add linker option for LIB32 step on PowerPC64 To: Alfredo Dal Ava Junior Cc: "freebsd-toolchain@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 9FD667199D X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.176 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-5.33 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; 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-toolchain@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[176.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.90)[-0.897,0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; 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.43)[ip: (-5.98), ipnet: 209.85.128.0/17(-3.85), asn: 15169(-2.24), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 13:34:03 -0000 On Thu, 2 May 2019 at 14:03, Alfredo Dal Ava Junior wrote: > > Hi all, > > I'm working on having PowerPC64 using LLVM by default, but LLD support fo= r 32 bit seems to be incomplete. As workaround I'm using ld.bfd (2.17) for= the LIB32 step. Ok - eventual goal should be to have 32- and 64-bit linked with lld, but I have no objection to an interim step that uses ld.bfd 2.17.50 for the 32-bit build. Note that there's a goal of removing GCC 4.2.1 and binutils 2.17.50 (requiring external toolchain for architectures that have not migrated to clang/lld). > I found no way to specify the linker for LIB32 step, so I created a varia= ble called LIB32LD that I pass to "make buildworld". Apparently we'll have = to make this workaround official, so I would like to know your thoughts abo= ut this approach or if you have some other idea to share. I think this would be fine, and it would default to ld.bfd on ppc64? From owner-freebsd-toolchain@freebsd.org Fri May 3 17:50:49 2019 Return-Path: Delivered-To: freebsd-toolchain@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 250811596D6B for ; Fri, 3 May 2019 17:50:49 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E7CF82ADD; Fri, 3 May 2019 17:50:47 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 394983C475F; Fri, 3 May 2019 17:50:45 +0000 (UTC) Date: Fri, 3 May 2019 17:50:45 +0000 From: Brooks Davis To: Ed Maste Cc: Alfredo Dal Ava Junior , "freebsd-toolchain@freebsd.org" Subject: Re: add linker option for LIB32 step on PowerPC64 Message-ID: <20190503175045.GB39134@spindle.one-eyed-alien.net> References: <1556819251122.50364@eldorado.org.br> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 0E7CF82ADD X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.28 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: spindle.one-eyed-alien.net]; NEURAL_HAM_SHORT(-0.82)[-0.822,0]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.55)[ip: (-9.21), ipnet: 199.48.128.0/22(-4.57), asn: 36236(-3.89), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 May 2019 17:50:49 -0000 --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 03, 2019 at 09:33:42AM -0400, Ed Maste wrote: > On Thu, 2 May 2019 at 14:03, Alfredo Dal Ava Junior > wrote: > > > > Hi all, > > > > I'm working on having PowerPC64 using LLVM by default, but LLD support = for 32 bit seems to be incomplete. As workaround I'm using ld.bfd (2.17) f= or the LIB32 step. >=20 > Ok - eventual goal should be to have 32- and 64-bit linked with lld, > but I have no objection to an interim step that uses ld.bfd 2.17.50 > for the 32-bit build. Note that there's a goal of removing GCC 4.2.1 > and binutils 2.17.50 (requiring external toolchain for architectures > that have not migrated to clang/lld). If need by, we can add an XLIB32LD. -- Brooks --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJczH90AAoJEKzQXbSebgfA/c0H/212QtkHTIy9qgG0sg0+KaGn c4TIIQ7TYYnPoYNF+r32IneSIgWeGsIwhlIPN1x+0qhsEtgS2M49vG2stcySWNhr z1lQYJ/axfseFcDqxrluV/3xVjKGDB5v7hGAo1FwzR/V3CqyEPHrqR6rToK1cnMp Pi13HljLXn5iGyH+lh22BkpW8UWk7w30Ck/CQYFoUE+J3ykBGiBdXjPpY3v5L27L YWHVqCnD1Yn5lKgWljX4EgPKDtt49hBW20hph7KZ2QUF8dLL2pM9yoKxNyWBGuz6 uSfBnh905+Im9uHn1I4VDmVGm04W64Q06IrIf5vOMgnTbuo791KurEcZ4IuEWw4= =nlRO -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ--