Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Mar 2020 20:11:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 207125] lang/gcc9: (clang used to build) CFLAGS for clang stops portmaster lang/gcc9 build (report updated from gcc6 original)
Message-ID:  <bug-207125-7788-1m2zI57OHX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207125-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207125-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207125

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Overcome By Events          |---
            Summary|lang/gcc6-devel: (clang     |lang/gcc9: (clang used to
                   |used to build) CFLAGS for   |build) CFLAGS for clang
                   |clang stop portupgrade      |stops portmaster lang/gcc9
                   |lang/gcc6-devel             |build (report updated from
                   |                            |gcc6 original)
             Status|Closed                      |New

--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
I checked an gcc9 still has this build problem. I tested
via a CFLAGS assigment in the Makefile, similar to comment 4.

checking for x86_64-portbld-freebsd13.0-gcc...
/wrkdirs/usr/ports/lang/gcc9/work/.build/./gcc/xgcc
-B/wrkdirs/usr/ports/lang/gcc9/work/.build/./gcc/
-B/usr/local/x86_64-portbld-freebsd13.0/bin/
-B/usr/local/x86_64-portbld-freebsd13.0/lib/ -isystem
/usr/local/x86_64-portbld-freebsd13.0/include -isystem
/usr/local/x86_64-portbld-freebsd13.0/sys-include   -fno-checking
checking for suffix of object files... configure: error: in
`/wrkdirs/usr/ports/lang/gcc9/work/.build/x86_64-portbld-freebsd13.0/libgcc=
':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details


configure:3529: /wrkdirs/usr/ports/lang/gcc9/work/.build/./gcc/xgcc
-B/wrkdirs/usr/ports/lang/gcc9/work/.build/./gcc/
-B/usr/local/x86_64-portbld-freebsd13.0/bin/
-B/usr/local/x86_64-portbld-freebsd13
.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd13.0/include -isystem
/usr/local/x86_64-portbld-freebsd13.0/sys-include   -fno-checking -o confte=
st
-O2 -target x86_64-unknown-freebsd13.0 -DLIBICONV_
PLUG -g -fno-strict-aliasing    conftest.c  >&5
xgcc: error: x86_64-unknown-freebsd13.0: No such file or directory
xgcc: error: unrecognized command line option '-target'
configure:3532: $? =3D 1
configure:3745: checking for suffix of object files
configure:3767: /wrkdirs/usr/ports/lang/gcc9/work/.build/./gcc/xgcc
-B/wrkdirs/usr/ports/lang/gcc9/work/.build/./gcc/
-B/usr/local/x86_64-portbld-freebsd13.0/bin/
-B/usr/local/x86_64-portbld-freebsd13
.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd13.0/include -isystem
/usr/local/x86_64-portbld-freebsd13.0/sys-include   -fno-checking -c -O2
-target x86_64-unknown-freebsd13.0 -DLIBICONV_PLUG -g -
fno-strict-aliasing   conftest.c >&5
xgcc: error: x86_64-unknown-freebsd13.0: No such file or directory
xgcc: error: unrecognized command line option '-target'
configure:3771: $? =3D 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
| /* end confdefs.h.  */
|=20
| int
| main ()
| {
|=20
|   ;
|   return 0;
| }

--=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-207125-7788-1m2zI57OHX>