Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2020 11:33:13 +0900
From:      KIRIYAMA Kazuhiko <kiri@truefc.org>
To:        FreeBSD ports <freebsd-ports@freebsd.org>
Cc:        kiri@truefc.org
Subject:   Why lang/gcc9 depends  native-binutils ?
Message-ID:  <202007210233.06L2XDNI022196@kx.truefc.org>

next in thread | raw e-mail | index | archive | help
Hi, all

lang/gcc9 depends devel/binutils with FLAVOR=native, so gcc9
compilation stopped at devel/binutils. Why lang/gcc9 depends
native-binutils ?

checking whether strstr is declared... yes
checking whether vsnprintf is declared... config.status: creating Makefile
yes
checking iconv.h usability... config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
*** BFD does not support target native-unknown-freebsd13.0.
*** Look in bfd/config.bfd for supported targets.
gmake[3]: *** [Makefile:3563: configure-binutils] Error 1
gmake[3]: Leaving directory '/var/ports/work/usr/ports/devel/binutils/work-native/binutils-2.33.1'
gmake[2]: *** [Makefile:851: all] Error 2
gmake[2]: Leaving directory '/var/ports/work/usr/ports/devel/binutils/work-native/binutils-2.33.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/binutils
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/gcc9


My machine environments are as folows:

root@jdtpkxb:~ # uname -a
FreeBSD jdtpkxb 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r362853M: Wed Jul 15 23:46:55 JST 2020     root@msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ  amd64
root@jdtpkxb:~ # svnlite info /usr/ports
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: http://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: http://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 542063
Node Kind: directory
Schedule: normal
Last Changed Author: glewis
Last Changed Rev: 542063
Last Changed Date: 2020-07-12 11:13:27 +0900 (Sun, 12 Jul 2020)

root@jdtpkxb:~ # 


Best regards.
---
Kazuhiko Kiriyama <kiri@truefc.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007210233.06L2XDNI022196>