Date: Wed, 20 Mar 2019 12:36:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 236662] devel/remove arm-none-eabi-newlib breaks gcc Message-ID: <bug-236662-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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 <stdio.h> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236662-7788>