Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2018 23:07:10 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: devel/arm-none-eabi-gcc fails to build on 11-stable
Message-ID:  <E7EE7372-5128-4FE0-8C12-1A4CA34E6CD2@FreeBSD.org>
In-Reply-To: <e32e6e7f-842e-7a03-5f90-6e0fb07f7682@zyxst.net>
References:  <e32e6e7f-842e-7a03-5f90-6e0fb07f7682@zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_203F6AB0-E25A-4964-8734-4C22B0CEB81A
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 14 Mar 2018, at 14:46, tech-lists <tech-lists@zyxst.net> wrote:
> 
> context:
> Working Copy Root Path: /usr/ports
> URL: https://svn.freebsd.org/ports/head
> Relative URL: ^/head
> Repository Root: https://svn.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 464450
> 
> $ uname -KU
> 1101509 1101509
> 
> devel/arm-none-eabi-gcc fails to build:
> 
> gmake[2]: Entering directory
> '/usr/ports/devel/arm-none-eabi-gcc/work/.build/gcc'
> c++ -c   -fbracket-depth=512 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE
> -fno-strict-aliasing -fno-exceptions -fno-rtti
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
> -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
> -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild
> -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc
> -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/build
> -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/../include
> -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/../libcpp/include
> -DLIBICONV_PLUG \
> 	-o build/genpreds.o
> /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/genpreds.c
> c++: warning: treating 'c' input as 'c++' when in C++ mode, this
> behavior is deprecated [-Wdeprecated]
> In file included from
> /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/genpreds.c:25:
> /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/coretypes.h:62:1:
> warning: class 'rtx_def' was previously declared as a struct
> [-Wmismatched-tags]
> class rtx_def;
> ^
> /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/coretypes.h:55:8:
> note: previous use is here
> struct rtx_def;
>       ^
> In file included from
> /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/genpreds.c:26:
> In file included from ./tm.h:17:
> ./options.h:5327:3: error: redefinition of enumerator 'OPT_C'
>  OPT_C = 127,                               /* -C */
>  ^

Try building the port with LANG=C in your environment.  If I recall
correctly, this was some problem with sed in combination with non-C
language settings.

-Dimitry


--Apple-Mail=_203F6AB0-E25A-4964-8734-4C22B0CEB81A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWqmdDgAKCRCwXqMKLiCW
o55DAJoCfyPri0BEjMczlimy7isBEaiiewCgvA5pCkYOFuZYfaeOtkFDEUZydPI=
=qvJt
-----END PGP SIGNATURE-----

--Apple-Mail=_203F6AB0-E25A-4964-8734-4C22B0CEB81A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7EE7372-5128-4FE0-8C12-1A4CA34E6CD2>