Re: lang/gcc not build
26.11.2013 19:47, Alexander Panyushkin wrote: #portmaster lang/gcc [...] cd /usr/ports/lang/gcc/work/gcc-4.6.4 ; contrib/gcc_update --touch configure: loading site script /usr/ports/Templates/config.site checking build system type... x86_64-portbld-freebsd10.0 checking host system type... x86_64-portbld-freebsd10.0 checking target system type... x86_64-portbld-freebsd10.0 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for gawk... (cached) /usr/bin/awk checking for gcc... gcc46 checking for C compiler default output file name... configure: error: in `/usr/ports/lang/gcc/work/build': configure: error: C compiler cannot create executables See `config.log' for more details. === Script ../gcc-4.6.4/configure failed unexpectedly. Please report the problem to ger...@freebsd.org [maintainer] and attach the /usr/ports/lang/gcc/work/build/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 # /etc/make.conf ..if ${.CURDIR:N*/ports/lang/gcc*} == CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat CPPFLAGS+= -D_FORTIFY_SOURCE=2 USE_GCC=4.6 ..endif Added this to my make.conf and tested - WFM. The problem is not there. Can you post a sample of /usr/ports/lang/gcc/work/build/config.log as log suggests? PS: CFLAGS= is a bit rough thing to have, CFLAGS+= would be much better. PPS: clang is mature enough and works correctly with CPUTYPE?=native so -march and -mtune can be substituted for that one. -- Sphinx of black quartz, judge my vow. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
lang/gcc not build
#portmaster lang/gcc [...] cd /usr/ports/lang/gcc/work/gcc-4.6.4 ; contrib/gcc_update --touch configure: loading site script /usr/ports/Templates/config.site checking build system type... x86_64-portbld-freebsd10.0 checking host system type... x86_64-portbld-freebsd10.0 checking target system type... x86_64-portbld-freebsd10.0 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for gawk... (cached) /usr/bin/awk checking for gcc... gcc46 checking for C compiler default output file name... configure: error: in `/usr/ports/lang/gcc/work/build': configure: error: C compiler cannot create executables See `config.log' for more details. === Script ../gcc-4.6.4/configure failed unexpectedly. Please report the problem to ger...@freebsd.org [maintainer] and attach the /usr/ports/lang/gcc/work/build/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 # /etc/make.conf .if ${.CURDIR:N*/ports/lang/gcc*} == CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat CPPFLAGS+= -D_FORTIFY_SOURCE=2 USE_GCC=4.6 .endif #pkg info -ix gcc gcc-4.6.3 gcc-ecj-4.5 gccmakedep-1.0.2_1 -- Alexander ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
lang/gcc not build
uname FreeBSD 10.0-ALPHA2 #0 r255833M: Tue Sep 24 10:21:04 EEST 2013 - make.conf CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-parameter -Wformat -Wformat-security CPPFLAGS+= -D_FORTIFY_SOURCE=2 - Checking multilib configuration for libgcc... mkdir x86_64-portbld-freebsd10.0 mkdir x86_64-portbld-freebsd10.0/libgcc Configuring in x86_64-portbld-freebsd10.0/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for gawk... /usr/bin/awk checking build system type... x86_64-portbld-freebsd10.0 checking host system type... x86_64-portbld-freebsd10.0 checking for x86_64-portbld-freebsd10.0-ar... /usr/local/x86_64-portbld-freebsd10.0/bin/ar checking for x86_64-portbld-freebsd10.0-lipo... lipo checking for x86_64-portbld-freebsd10.0-nm... /usr/ports/lang/gcc/work/build/./gcc/nm checking for x86_64-portbld-freebsd10.0-ranlib... /usr/local/x86_64-portbld-freebsd10.0/bin/ranlib checking for x86_64-portbld-freebsd10.0-strip... /usr/local/x86_64-portbld-freebsd10.0/bin/strip checking whether ln -s works... yes checking for x86_64-portbld-freebsd10.0-gcc... /usr/ports/lang/gcc/work/build/./gcc/xgcc -B/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd10.0/bin/ -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd10.0/include -isystem /usr/local/x86_64-portbld-freebsd10.0/sys-include checking for suffix of object files... configure: error: in `/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd10.0/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. [...] === Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: lang/gcc not build
On Sep 25, 2013, at 15:17, Alexander Panyushkin vsi...@gmail.com wrote: uname FreeBSD 10.0-ALPHA2 #0 r255833M: Tue Sep 24 10:21:04 EEST 2013 - make.conf CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-parameter -Wformat -Wformat-security CPPFLAGS+= -D_FORTIFY_SOURCE=2 - Checking multilib configuration for libgcc... mkdir x86_64-portbld-freebsd10.0 mkdir x86_64-portbld-freebsd10.0/libgcc Configuring in x86_64-portbld-freebsd10.0/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for gawk... /usr/bin/awk checking build system type... x86_64-portbld-freebsd10.0 checking host system type... x86_64-portbld-freebsd10.0 checking for x86_64-portbld-freebsd10.0-ar... /usr/local/x86_64-portbld-freebsd10.0/bin/ar checking for x86_64-portbld-freebsd10.0-lipo... lipo checking for x86_64-portbld-freebsd10.0-nm... /usr/ports/lang/gcc/work/build/./gcc/nm checking for x86_64-portbld-freebsd10.0-ranlib... /usr/local/x86_64-portbld-freebsd10.0/bin/ranlib checking for x86_64-portbld-freebsd10.0-strip... /usr/local/x86_64-portbld-freebsd10.0/bin/strip checking whether ln -s works... yes checking for x86_64-portbld-freebsd10.0-gcc... /usr/ports/lang/gcc/work/build/./gcc/xgcc -B/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/x86_64-portbld-freebsd10.0/bin/ -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd10.0/include -isystem /usr/local/x86_64-portbld-freebsd10.0/sys-include checking for suffix of object files... configure: error: in `/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd10.0/libgcc': configure: error: cannot compute suffix of object files: cannot compile Most likely, the xgcc instance cannot handle the -Qunused-parameter flag. So remove it from your custom CFLAGS (note that you should use +=, not = for CFLAGS in make.conf), and try again. If this does not help, post the config.log file. -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail