NetBSD Problem Report #54684

From gson@gson.org  Fri Nov  8 14:55:51 2019
Return-Path: <gson@gson.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 E349C7A1D2
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 Nov 2019 14:55:50 +0000 (UTC)
Message-Id: <20191108145546.D2242253F48@guava.gson.org>
Date: Fri,  8 Nov 2019 16:55:46 +0200 (EET)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: lang/gcc48 won't build on macOS 10.15
X-Send-Pr-Version: 3.95

>Number:         54684
>Category:       pkg
>Synopsis:       lang/gcc48 won't build on macOS 10.15
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 08 15:00:00 +0000 2019
>Closed-Date:    Sat Apr 17 07:41:18 +0000 2021
>Last-Modified:  Sat Apr 17 07:41:18 +0000 2021
>Originator:     Andreas Gustafsson
>Release:        pkgsrc-current
>Organization:
>Environment:
System: macOS 10.15
Architecture: x86_64
Machine: amd64
>Description:

Building lang/gcc48 on macOS 10.15 (aka Catalina) fails with:

  libtool: compile:  /Users/gson/pkgsrc/lang/gcc48/work/build/./gcc/xgcc -shared-libgcc -B/Users/gson/pkgsrc/lang/gcc48/work/build/./gcc -nostdinc++ -L/Users/gson/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin19/libstdc++-v3/src -L/Users/gson/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin19/libstdc++-v3/src/.libs -B/Users/gson/pkg/gcc48/x86_64-apple-darwin19/bin/ -B/Users/gson/pkg/gcc48/x86_64-apple-darwin19/lib/ -isystem /Users/gson/pkg/gcc48/x86_64-apple-darwin19/include -isystem /Users/gson/pkg/gcc48/x86_64-apple-darwin19/sys-include -I/Users/gson/pkgsrc/lang/gcc48/work/gcc-4.8.5/libstdc++-v3/../libgcc -I/Users/gson/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin19/libstdc++-v3/include/x86_64-apple-darwin19 -I/Users/gson/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin19/libstdc++-v3/include -I/Users/gson/pkgsrc/lang/gcc48/work/gcc-4.8.5/libstdc++-v3/libsupc++ -D_GLIBCXX_SHARED -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -fvisibility-inlin
 es-hidden -ffunction-sections -fdata-sections -frandom-seed=atexit_thread.lo -g -O2 -I/Users/gson/pkg/include -std=gnu++0x -c ../../../../gcc-4.8.5/libstdc++-v3/libsupc++/atexit_thread.cc  -fno-common -DPIC -D_GLIBCXX_SHARED -o atexit_thread.o
  In file included from /Users/gson/pkgsrc/lang/gcc48/work/build/gcc/include-fixed/Availability.h:273:0,
                   from /Users/gson/pkgsrc/lang/gcc48/work/build/gcc/include-fixed/stdlib.h:76,
                   from /Users/gson/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin19/libstdc++-v3/include/cstdlib:72,
                   from ../../../../gcc-4.8.5/libstdc++-v3/libsupc++/atexit_thread.cc:25:
  /Users/gson/pkgsrc/lang/gcc48/work/build/gcc/include-fixed/AvailabilityInternal.h:60:18: error: missing binary operator before token "("
   #if __has_include(<AvailabilityInternalPrivate.h>)
                    ^
  In file included from /Users/gson/pkgsrc/lang/gcc48/work/build/gcc/include-fixed/stdlib.h:76:0,
                   from /Users/gson/pkgsrc/lang/gcc48/work/build/x86_64-apple-darwin19/libstdc++-v3/include/cstdlib:72,
                   from ../../../../gcc-4.8.5/libstdc++-v3/libsupc++/atexit_thread.cc:25:
  /Users/gson/pkgsrc/lang/gcc48/work/build/gcc/include-fixed/Availability.h:595:18: error: missing binary operator before token "("
   #if __has_include(<AvailabilityProhibitedInternal.h>)
                    ^

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->macos-pkg-people
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Wed, 20 Nov 2019 09:45:01 +0000
Responsible-Changed-Why:
macOS problem.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 17 Apr 2021 07:41:18 +0000
State-Changed-Why:
stale report: older versions of GCC were removed, including gcc48. It is likely that newer versions of GCC might not have this problem (it probably grew __has_include support eventually).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.