Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 08:04:36 GMT
From:      Vasiliy Karpov <kvm@ukravto.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100801: problems building arts++ for pentium4 CPUTYPE, because of USE_GCC=2.95 flag in Makefile
Message-ID:  <200607250804.k6P84alR019341@www.freebsd.org>
Resent-Message-ID: <200607250810.k6P8AHDZ033762@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100801
>Category:       ports
>Synopsis:       problems building arts++ for pentium4 CPUTYPE, because of USE_GCC=2.95 flag in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 25 08:10:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Vasiliy Karpov
>Release:        6.1-RELEASE-p3
>Organization:
Ukrainian Automotive Corporation
>Environment:
FreeBSD kanzi 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #1: Tue Jul 11 14:42:14 EEST 2006     root@kanzi:/usr/obj/usr/src/sys/KAN
ZI  i386
>Description:
>How-To-Repeat:
> cd /usr/ports/net-mgmt/arts++/
> make

>Fix:
Change the "USE_GCC" flag in Makefile
>Release-Note:
>Audit-Trail:
>Unformatted:
 >gcc -v
 Using built-in specs.
 Configured with: FreeBSD/i386 system compiler
 Thread model: posix
 gcc version 3.4.4 [FreeBSD] 20050518
 
 >cd /usr/ports/net-mgmt/arts++/
 
 >cat Makefile | grep USE_GCC
 USE_GCC=        2.95
 
 > make
 ===>  Extracting for arts++-1.1.a11_1,1
 => MD5 Checksum OK for arts++-1.1.a11.tar.gz.
 => SHA256 Checksum OK for arts++-1.1.a11.tar.gz.
 ===>  Patching for arts++-1.1.a11_1,1
 ===>   arts++-1.1.a11_1,1 depends on executable: gmake - found
 ===>   arts++-1.1.a11_1,1 depends on executable: gcc295 - found
 ===>  Configuring for arts++-1.1.a11_1,1
 configure: WARNING: you should use --build, --host, --target
 checking for i386-portbld-freebsd6.1-gcc... gcc295
 checking for C compiler default output... configure: error: C compiler cannot create
 executables
 ===>  Script "configure" failed unexpectedly.
 Please report the problem to ports@FreeBSD.org [maintainer] and attach the
 "/usr/ports/net-mgmt/arts++/work/arts++-1.1.a11/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. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/net-mgmt/arts++.
 
 > cat /usr/ports/net-mgmt/arts++/work/arts++-1.1.a11/config.log
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by Arts++ configure 1.1.a11, which was
 generated by GNU Autoconf 2.53.  Invocation command line was
 
   $ ./configure --enable-shared --prefix=/usr/local i386-portbld-freebsd6.1
 
 ## --------- ##
 ## Platform. ##
 ## --------- ##
 
 hostname = kanzi
 uname -m = i386
 uname -r = 6.1-RELEASE-p3
 uname -s = FreeBSD
 uname -v = FreeBSD 6.1-RELEASE-p3 #1: Tue Jul 11 14:42:14 EEST 2006    
 root@kanzi:/usr/obj/usr/src/sys/KANZI
 
 /usr/bin/uname -p = i386
 /bin/uname -X     = unknown
 
 /bin/arch              = unknown
 /usr/bin/arch -k       = unknown
 /usr/convex/getsysinfo = unknown
 hostinfo               = unknown
 /bin/machine           = unknown
 /usr/bin/oslevel       = unknown
 /bin/universe          = unknown
 
 PATH: /bin
 PATH: /sbin
 PATH: /usr/bin
 PATH: /usr/sbin
 PATH: /usr/local/bin
 PATH: /home/kvm/bin
 PATH: /usr/local/bin
 PATH: /usr/local/sbin
 PATH: /usr/local/pgsql/bin
 PATH: /usr/X11R6/bin
 
 
 ## ----------- ##
 ## Core tests. ##
 ## ----------- ##
 
 configure:1259: checking for i386-portbld-freebsd6.1-gcc
 configure:1285: result: gcc295
 configure:1567: checking for C compiler version
 configure:1570: gcc295 --version </dev/null >&5
 2.95.3
 configure:1573: $? = 0
 configure:1575: gcc295 -v </dev/null >&5
 Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd6.1/2.95.3/specs
 gcc version 2.95.3 20010315 (release)
 configure:1578: $? = 0
 configure:1580: gcc295 -V </dev/null >&5
 gcc295: argument to `-V' is missing
 configure:1583: $? = 1
 configure:1609: checking for C compiler default output
 configure:1612: gcc295 -O -pipe -march=pentium4   conftest.c  >&5
 cc1: bad value (pentium4) for -march= switch
 configure:1615: $? = 1
 configure: failed program was:
 #line 1587 "configure"
 #include "confdefs.h"
 
 #ifdef F77_DUMMY_MAIN
 #  ifdef __cplusplus
      extern "C"
 #  endif
    int F77_DUMMY_MAIN() { return 1; }
 #endif
 int
 main ()
 {
 
   ;
   return 0;
 }
 configure:1642: error: C compiler cannot create executables
 
 ## ---------------- ##
 ## Cache variables. ##
 ## ---------------- ##
 
 ac_cv_env_CXXFLAGS_value='-O -pipe -march=pentium4 -fconserve-space'
 ac_cv_env_CXXCPP_set=''
 ac_cv_env_LDFLAGS_set=''
 ac_cv_env_CFLAGS_set=set
 lt_cv_sys_max_cmd_len=262144
 ac_cv_env_CPPFLAGS_set=''
 ac_cv_env_CXX_set=set
 ac_cv_env_host_alias_set=set
 ac_cv_prog_CC=gcc295
 ac_cv_env_build_alias_set=set
 ac_cv_env_CXXCPP_value=''
 ac_cv_env_LDFLAGS_value=''
 ac_cv_env_target_alias_set=set
 ac_cv_env_CFLAGS_value='-O -pipe -march=pentium4'
 ac_cv_env_CC_set=set
 ac_cv_env_CPPFLAGS_value=''
 ac_cv_env_CXXFLAGS_set=set
 ac_cv_env_CXX_value=g++295
 ac_cv_env_host_alias_value=i386-portbld-freebsd6.1
 ac_cv_env_build_alias_value=i386-portbld-freebsd6.1
 ac_cv_env_target_alias_value=i386-portbld-freebsd6.1
 ac_cv_env_CC_value=gcc295
 
 ## ----------- ##
 ## confdefs.h. ##
 ## ----------- ##
 
 #define PACKAGE_NAME "Arts++"
 #define PACKAGE_TARNAME "arts--"
 #define PACKAGE_VERSION "1.1.a11"
 #define PACKAGE_STRING "Arts++ 1.1.a11"
 #define PACKAGE_BUGREPORT ""
 
 configure: exit 77



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607250804.k6P84alR019341>