Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 17:40:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201458] devel/boehm-gc 7.4.2_4 broken
Message-ID:  <bug-201458-13-2u1CJNNNJq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201458-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201458-13@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=201458

--- Comment #1 from rallenh@hotmail.com ---
It looks like configure is thinking cc is gcc and using gcc args:

Selected GCC installation: 
configure:3642: $? = 0
configure:3631: cc -V >&5
cc: error: argument to '-V' is missing (expected 1 value)
cc: error: no input files
configure:3642: $? = 1
configure:3631: cc -qversion >&5
cc: error: unknown argument: '-qversion'
cc: error: no input files
configure:3642: $? = 1
configure:3662: checking whether the C compiler works
configure:3684: cc -O2 -pipe -march=pentium4  -fstack-protector
-fno-strict-aliasing   -fstack-protector conftest.c  >&5
configure:3688: $? = 0
configure:3736: result: yes
configure:3739: checking for C compiler default output file name
configure:3741: result: a.out
configure:3747: checking for suffix of executables
configure:3754: cc -o conftest -O2 -pipe -march=pentium4  -fstack-protector
-fno-strict-aliasing   -fstack-protector conftest.c  >&5
configure:3758: $? = 0
configure:3780: result: 
configure:3802: checking whether we are cross compiling
configure:3810: cc -o conftest -O2 -pipe -march=pentium4  -fstack-protector
-fno-strict-aliasing   -fstack-protector conftest.c  >&5
Stack dump:


But if I cd into /usr/ports/devel/boehm-gc/work/gc-7.4.2 and run configure, it
works:

allen@static /usr/ports/devel/boehm-gc
$ cd work/gc-7.4.2/

allen@static /usr/ports/devel/boehm-gc/work/gc-7.4.2
$ sudo ./configure
checking build system type... i386-unknown-freebsd10.2
checking host system type... i386-unknown-freebsd10.2
checking target system type... i386-unknown-freebsd10.2
checking GC version numbers... major=7 minor=4                 micro=2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... unsupported
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for g++... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking dependency style of cc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert i386-unknown-freebsd10.2 file names to
i386-unknown-freebsd10.2 format... func_convert_file_noop
checking how to convert i386-unknown-freebsd10.2 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd10.2 ld.so
checking how to hardcode library paths into programs... immediate
checking for thread model used by GCC... posix
checking for inline... inline
checking for pthread_self in -lpthread... yes
configure: WARNING: "FreeBSD does not yet fully support threads with Boehm GC."
checking for gcc -Wextra... yes
checking for xlc... no
checking whether gcc supports -fno-strict-aliasing... yes
checking for dlopen in -ldl... no
checking whether to build shared libraries... yes
checking which machine-dependent code should be used... 
checking whether Solaris gcc optimization fix is necessary... no
checking for dladdr... yes
checking sys/dg_sys_info.h usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ATOMIC_OPS... yes
checking which libatomic_ops to use... external
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bdw-gc.pc
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands

-- 
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-201458-13-2u1CJNNNJq>