NetBSD Problem Report #53209

From www@NetBSD.org  Tue Apr 24 16:10:29 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 45E5F7A170
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Apr 2018 16:10:29 +0000 (UTC)
Message-Id: <20180424161028.3E01C7A1D2@mollari.NetBSD.org>
Date: Tue, 24 Apr 2018 16:10:28 +0000 (UTC)
From: davshao@gmail.com
Reply-To: davshao@gmail.com
To: gnats-bugs@NetBSD.org
Subject: lang/llvm BFD (NetBSD Binutils nb1) 2.30 assertion fail elflink.c:2824
X-Send-Pr-Version: www-1.0

>Number:         53209
>Category:       toolchain
>Synopsis:       lang/llvm BFD (NetBSD Binutils nb1) 2.30 assertion fail elflink.c:2824
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 24 16:15:00 +0000 2018
>Closed-Date:    Wed Apr 25 13:47:20 +0000 2018
>Last-Modified:  Wed Apr 25 13:47:20 +0000 2018
>Originator:     David Shao
>Release:        NetBSD 8.99.14 amd64
>Organization:
>Environment:
NetBSD xxxxxx.xxx 8.99.14 NetBSD 8.99.14 (GENERIC) #9: Mon Apr 23 18:58:22 PDT 2018  xxxxxx@xxxxxx.xxx:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
On NetBSD 8.99.14 amd64 through Mon Apr 23 22:53:04 UTC 2018, "Adjust Xsyscall_sys to not use movq for 64bit immediates either", current pkgsrc lang/llvm (5.0.1) fails to build with, using PKG_DEBUG_LEVEL=2:

[ 88%] Built target LTO_exports
[ 88%] Linking CXX shared library ../../lib/libLTO.so
ld: BFD (NetBSD Binutils nb1) 2.30 assertion fail /usr/src/external/gpl3/binutils/lib/libbfd/../../dist/bfd/elflink.c:2824
ld: BFD (NetBSD Binutils nb1) 2.30 assertion fail /usr/src/external/gpl3/binutils/lib/libbfd/../../dist/bfd/elflink.c:2824


>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53209 CVS commit: src/share/mk
Date: Tue, 24 Apr 2018 19:29:13 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Tue Apr 24 23:29:13 UTC 2018

 Modified Files:
 	src/share/mk: bsd.own.mk

 Log Message:
 PR/53209: David Shao: lang/llvm BFD (NetBSD Binutils nb1) 2.30 assertion fail elflink.c:2824
 switch x86 back to old binutils until it is fixed.
 (also non pie binaries have broken relocs)


 To generate a diff of this commit:
 cvs rdiff -u -r1.1057 -r1.1058 src/share/mk/bsd.own.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: David Shao <davshao@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: toolchain/53209: lang/llvm BFD (NetBSD Binutils nb1) 2.30
 assertion fail elflink.c:2824
Date: Wed, 25 Apr 2018 06:39:02 -0700

 PR/53209 CVS commit:src/share/mk allows pkgsrc lang/llvm to be
 successfully built again on NetBSD 8.99.14 GENERIC amd64.  Thanks!

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 25 Apr 2018 13:47:20 +0000
State-Changed-Why:
Confirmed fixed, thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.