Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2019 08:15:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241727] lang/gambit-c: fix build on GCC architectures
Message-ID:  <bug-241727-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 241727
           Summary: lang/gambit-c: fix build on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: olgeni@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(olgeni@FreeBSD.org)
          Assignee: olgeni@FreeBSD.org

Created attachment 208873
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208873&action=
=3Dedit
patch

On powerpc64 build fails with:
gcc -O2 -pipe  -fno-move-loop-invariants -fstack-protector-strong
-fno-strict-aliasing   -I"../include" -c -o "_gambit.o" -I. -DHAVE_CONFIG_H
-D___GAMBITDIR=3D"\"/usr/local\""
-D___GAMBITDIR_INCLUDE=3D"\"/usr/local/include/gambit-c\""
-D___GAMBITDIR_LIB=3D"\"/usr/local/lib/gambit-c\""
-D___GAMBITDIR_DOC=3D"\"/usr/local/share/doc/gambit-c\""
-D___GAMBITDIR_INFO=3D"\"/usr/local/share/info\""
-D___SYS_TYPE_CPU=3D"\"powerpc64\"" -D___SYS_TYPE_VENDOR=3D"\"portbld\""
-D___SYS_TYPE_OS=3D"\"freebsd12.1\"" -D___CONFIGURE_COMMAND=3D"\"./configure
'--enable-single-host' '--enable-gcc-opts'
'--docdir=3D/usr/local/share/doc/gambit-c'
'--includedir=3D/usr/local/include/gambit-c' '--libdir=3D/usr/local/lib/gam=
bit-c'
'--enable-compiler-name=3Dgsc-gambit' '--enable-interpreter-name=3Dgsi-gamb=
it'
'--prefix=3D/usr/local' '--localstatedir=3D/var' '--mandir=3D/usr/local/man'
'--infodir=3D/usr/local/share/info/' '--build=3Dpowerpc64-portbld-freebsd12=
.1'
'build_alias=3Dpowerpc64-portbld-freebsd12.1' 'CC=3Dgcc' 'CFLAGS=3D-O2 -pip=
e=20
-fno-move-loop-invariants -fstack-protector-strong -fno-strict-aliasing '
'LDFLAGS=3D -fstack-protector-strong ' 'LIBS=3D' 'CPPFLAGS=3D' 'CPP=3Dgcpp'=
 'CXX=3Dg++'
'CXXFLAGS=3D-O2 -pipe  -fno-move-loop-invariants -fstack-protector-strong  =
'"\"
-D___OBJ_EXTENSION=3D"\".o\"" -D___EXE_EXTENSION=3D"\"\"" -D___BAT_EXTENSIO=
N=3D"\"\""
-D___PRIMAL _gambit.c -D___LIBRARY
{standard input}: Assembler messages:
{standard input}:8827: Warning: end of file not at end of a line; newline
inserted
{standard input}:9906: Error: missing operand
{standard input}:9906: Error: missing operand
{standard input}:9906: Error: syntax error; found `
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.freebsd.org/support.html>; for instructions.

Use newer GCC from ports to fix build. Fix GCC option description to be more
accurate and remove workaround for older GCC, since it will not be used
anymore.

--=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-241727-7788>