From owner-freebsd-ports-bugs@freebsd.org Wed Mar 20 12:36:37 2019 Return-Path: Delivered-To: freebsd-ports-bugs@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 1A93D15535CE for ; Wed, 20 Mar 2019 12:36:37 +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 A586C94DC5 for ; Wed, 20 Mar 2019 12:36:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 63BDE15535C8; Wed, 20 Mar 2019 12:36:36 +0000 (UTC) Delivered-To: ports-bugs@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 2501415535C7 for ; Wed, 20 Mar 2019 12:36: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 B1B8894DC2 for ; Wed, 20 Mar 2019 12:36: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 EC24917F3B for ; Wed, 20 Mar 2019 12:36: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 x2KCaYNT008033 for ; Wed, 20 Mar 2019 12:36:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2KCaYZj008029 for ports-bugs@FreeBSD.org; Wed, 20 Mar 2019 12:36: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: ports-bugs@FreeBSD.org Subject: [Bug 236662] devel/remove arm-none-eabi-newlib breaks gcc Date: Wed, 20 Mar 2019 12:36:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hsw@bitmark.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2019 12:36:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236662 Bug ID: 236662 Summary: devel/remove arm-none-eabi-newlib breaks gcc Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: hsw@bitmark.com after install of the install arm-none-eabi-newlib arm-none-eabi-gcc cannot compile C sources. starting with only the compiler (no newlib installed stub program is ok, but after installing newlib compileing stdio.h fails with many errors. % cat main.c #include int main(int argc, char*argv[]) { return 2; } % arm-none-eabi-gcc -c -mcpu=3Dcortex-m3 -mthumb main.c -o main.o % doas pkg install -y arm-none-eabi-newlib All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: arm-none-eabi-newlib: 2.4.0_1 Number of packages to be installed: 1 The process will require 9 MiB more space. [1/1] Installing arm-none-eabi-newlib-2.4.0_1... [1/1] Extracting arm-none-eabi-newlib-2.4.0_1: 100% % arm-none-eabi-gcc -c -mcpu=3Dcortex-m3 -mthumb main.c -o main.o In file included from main.c:1:0: /usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/stdio.h:61:1: error: expected '=3D', ',', ';', 'asm' or '__attribute__' before 'typedef' typedef __off_t fpos_t; ^~~~~~~ /usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/stdio.h:61:9: error: unknown type name '__off_t' typedef __off_t fpos_t; ^~~~~~~ /usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/stdio.h:76:9: error: unknown type name '__off_t' typedef __off_t off_t; ^~~~~~~ /usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/stdio.h:80:9: error: unknown type name '__ssize_t' typedef __ssize_t ssize_t; ^~~~~~~~~ /usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/stdio.h:86:9: error: unknown type name '__off64_t' typedef __off64_t off64_t; ^~~~~~~~~ /usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/stdio.h:91:9: error: unknown type name '__va_list' typedef __va_list __not_va_list__; ^~~~~~~~~ /usr/local/lib/gcc/arm-none-eabi/6.4.0/include-fixed/stdio.h:149:19: error: expected ')' before '_close' int (* _Nullable _close)(void *); ^~~~~~ --=20 You are receiving this mail because: You are the assignee for the bug.=