NetBSD Problem Report #53013

From www@NetBSD.org  Mon Feb 12 14:56:01 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 B09527A1EA
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Feb 2018 14:56:01 +0000 (UTC)
Message-Id: <20180212145600.CEF227A21A@mollari.NetBSD.org>
Date: Mon, 12 Feb 2018 14:56:00 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: cross-compiling amd64 release on Darwin fails
X-Send-Pr-Version: www-1.0

>Number:         53013
>Category:       toolchain
>Synopsis:       cross-compiling amd64 release on Darwin fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 12 15:00:01 +0000 2018
>Closed-Date:    Wed Apr 11 22:31:58 +0000 2018
>Last-Modified:  Wed Apr 11 22:31:58 +0000 2018
>Originator:     Sevan Janiyan
>Release:        NetBSD-HEAD
>Organization:
>Environment:
Darwin 17.4.0 x86_64 i386
>Description:
--- libstdc++.so.8.1 ---
#     build  libstdc++-v3/libstdc++.so.8.1
rm -f libstdc++.so.8.1
/sandbox/netbsd-src/obj/tooldir.Darwin-17.4.0-x86_64/bin/x86_64--netbsd-gcc  -shared -Wl,-soname,libstdc++.so.8 -Wl,--warn-shared-textrel -Wl,-Map=libstdc++.so.8.map   --sysroot=/sandbox/netbsd-src/obj/destdir.amd64 -Wl,-O1  -Wl,--gc-sections  -Wl,--version-script=libstdc++-symbols.ver -Wl,-z,relro -Wl,--warn-shared-textrel  -o libstdc++.so.8.1.tmp  -Wl,-rpath-link,/sandbox/netbsd-src/obj/destdir.amd64/lib  -L=/lib -Wl,-x  -Wl,--whole-archive libstdc++_pic.a  -Wl,--no-whole-archive -L/sandbox/netbsd-src/lib/libm/obj -lm 
/sandbox/netbsd-src/obj/tooldir.Darwin-17.4.0-x86_64/lib/gcc/x86_64--netbsd/6.4.0/../../../../x86_64--netbsd/bin/ld:libstdc++-symbols.ver:1: syntax error in VERSION script
collect2: error: ld returned 1 exit status

x86_64--netbsd-gcc is gcc version 6.4.0 (NetBSD nb1 20180203)
>How-To-Repeat:
run ./build.sh -U -m amd64 release on macOS high sierra
>Fix:

>Release-Note:

>Audit-Trail:
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: toolchain/53013: cross-compiling amd64 release on Darwin fails
Date: Tue, 13 Feb 2018 11:57:44 +0000

 following on from the recent src/UPDATING entry, I should state that this is=
  a fresh setup (not previous build artefacts)=20


 Sevan=

State-Changed-From-To: open->closed
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Wed, 11 Apr 2018 22:31:58 +0000
State-Changed-Why:
no longer an issue


>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.