[Bug 241727] lang/gambit-c: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 5 08:15:26 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241727

            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 at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
             Flags: maintainer-feedback?(olgeni at FreeBSD.org)
          Assignee: olgeni at FreeBSD.org

Created attachment 208873
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208873&action=edit
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="\"/usr/local\""
-D___GAMBITDIR_INCLUDE="\"/usr/local/include/gambit-c\""
-D___GAMBITDIR_LIB="\"/usr/local/lib/gambit-c\""
-D___GAMBITDIR_DOC="\"/usr/local/share/doc/gambit-c\""
-D___GAMBITDIR_INFO="\"/usr/local/share/info\""
-D___SYS_TYPE_CPU="\"powerpc64\"" -D___SYS_TYPE_VENDOR="\"portbld\""
-D___SYS_TYPE_OS="\"freebsd12.1\"" -D___CONFIGURE_COMMAND="\"./configure
'--enable-single-host' '--enable-gcc-opts'
'--docdir=/usr/local/share/doc/gambit-c'
'--includedir=/usr/local/include/gambit-c' '--libdir=/usr/local/lib/gambit-c'
'--enable-compiler-name=gsc-gambit' '--enable-interpreter-name=gsi-gambit'
'--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/man'
'--infodir=/usr/local/share/info/' '--build=powerpc64-portbld-freebsd12.1'
'build_alias=powerpc64-portbld-freebsd12.1' 'CC=gcc' 'CFLAGS=-O2 -pipe 
-fno-move-loop-invariants -fstack-protector-strong -fno-strict-aliasing '
'LDFLAGS= -fstack-protector-strong ' 'LIBS=' 'CPPFLAGS=' 'CPP=gcpp' 'CXX=g++'
'CXXFLAGS=-O2 -pipe  -fno-move-loop-invariants -fstack-protector-strong  '"\"
-D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\""
-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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list