bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binutils snapshot having troubles (binutils-020226)


From: George R. Goffe
Subject: binutils snapshot having troubles (binutils-020226)
Date: Wed, 27 Feb 2002 18:18:28 -0800

Howdy,

I'm having problems with binutils building it with gcc-3.0.4 and USING a
just built version of binutils. I have a config.log that shows the
problem indication enclosed below. I have the same problem on several
other solaris versions 2.7, 2.9 (yes, 2.9; a beta that's free from
sun.com).

I'm more than willing to try fixes out or run other tests if necessary.

Regards,

George...


--

      _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/  _/_/_/_/ _/_/_/_/ -----
     _/       _/       _/    _/ _/     _/ _/       _/
    _/       _/       _/    _/ _/    _/  _/       _/
   _/  _/_/ _/_/_/_/ _/    _/ _/_/_/_/  _/  _/_/ _/_/_/_/ -----
  _/    _/ _/       _/    _/ _/     _/ _/    _/ _/
 _/    _/ _/       _/    _/ _/     _/ _/    _/ _/
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/     _/ _/_/_/_/ _/_/_/_/ -----

      "It's not what you know that hurts you."
      "It's what you know that ain't so."
                    Wil Rogers







# cat bld.log1
#!/bin/sh -xv

 if [ $# = 0 ]
 then
    ncpus=1
 else
    ncpus=$1
 fi
+ [ 0 = 0 ]
ncpus=1

 sysver=`uname -s`
+ uname -s
sysver=SunOS
 syslvl=`uname -r`
+ uname -r
syslvl=5.8

 osname=$sysver.$syslvl
osname=SunOS.5.8

 case $osname in
    SunOS.5.5)
       osname="$sysver.5.5"
       sunlvl="2.5"
       ;;
    SunOS.5.5.1)
       osname="$sysver.5.5.1"
       sunlvl="2.5.1"
       ;;
    SunOS.5.6)
       osname="$sysver.5.6"
       sunlvl="2.6"
       ;;
    SunOS.5.7)
       osname="$sysver.5.7"
       sunlvl="2.7"
       ;;
    SunOS.5.8)
       osname="$sysver.5.8"
       sunlvl="2.8"
       ;;
    SunOS.5.9)
       osname="$sysver.5.9"
       sunlvl="2.9"
       ;;
    *)
       printf "%s" 'Wrong system level encountered...'
       exit 86
 esac
osname=SunOS.5.8
sunlvl=2.8

 sysarch=`isainfo | cut -d" " -f1`
+ isainfo
+ cut -d  -f1
sysarch=sparcv9

 PATH=/usr/lsd/$osname/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin

PATH=/usr/lsd/SunOS.5.8/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin

#PATH=/usr/local/bin:/usr/lsd/$osname/bin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin

 export PATH
+ export PATH

 CONFIG_SHELL=/usr/bin/ksh
CONFIG_SHELL=/usr/bin/ksh
 export CONFIG_SHELL
+ export CONFIG_SHELL

 which gcc
+ which gcc
/usr/lsd/SunOS.5.8/bin/gcc

 gcc --version
+ gcc --version
3.0.4

 which as
+ which as
/usr/lsd/SunOS.5.8/bin/as

 as --version
+ as --version
GNU assembler 020226 20020226
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License.  This program has absolutely no
warranty.
This assembler was configured for a target of `sparcv9-sun-solaris2.8'.

 which ld
+ which ld
/usr/lsd/SunOS.5.8/bin/ld

 ld --version
+ ld --version
GNU ld version 020226 20020226
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License.  This program has absolutely no
warranty.

 make distclean
+ make distclean
make: *** No rule to make target `distclean'.  Stop.

 ./configure --prefix=/usr/lsd/$osname --verbose                \
             --x-includes=/usr/openwin/include                  \
             --x-libraries=/usr/openwin/lib                     \
             --enable-64-bit-bfd                                \
             --host=$sysarch-sun-solaris$sunlvl
+ ./configure --prefix=/usr/lsd/SunOS.5.8 --verbose
--x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib
--enable-64-bit-bfd --host=sparcv9-sun-solaris2.8
Created "Makefile" in /tmp/tools/binutils/ using "mh-frag"
/usr/lib/libdl.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

 make clean
+ make clean
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log

 make depend
+ make depend
make: *** No rule to make target `depend'.  Stop.

 make -j $ncpus
+ make -j 1
Configuring in ./libiberty
creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ar... ar
checking for ranlib... true
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... /usr/lsd/SunOS.5.8/bin/install
-c
checking how to run the C preprocessor... gcc -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for ANSI C header files... no
checking for uintptr_t... yes
checking whether the C compiler (gcc -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

 make install
+ make install
/usr/bin/ksh ./mkinstalldirs /usr/lsd/SunOS.5.9 /usr/lsd/SunOS.5.8

 exit 0
+ exit 0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]