Compiling Error

2006-05-13 Thread Leroy vanes
Hello all,

I have a question about the compiling of binutils 2.7 :
(i tried 2 linux versions for this: Linspire/Ubuntu)

If I extract the binutils-2.7.tar.gz file, go to the console and enter:

./configure --target=i386-unknown-gnu --prefix=/usr/local/xdev

it displays this error, after a short compiling:

line 7: cc: command not found
*** The command 'cc -o conftest  conftest.c' failed.
*** You must set the environment viriable CC to a working compiler.

I know it means I need a valid compiler, but where can I find this one, and 
how do I set it ? (and can I even use it on one of these linux versions?)

Greetings, 
Leroy
_
Join the next generation of Hotmail and you could win the adventure of a 
lifetime
http://www.imagine-msn.com/minisites/sweepstakes/mail/register.aspx

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/2658] New: ld segfaults in combination with --relax

2006-05-13 Thread balkohen at gmail dot com
Hi,

ld weirdly segfaults while trying to link the attached object file in
combination with --relax. You can reproduce it by simply typing:

gcc -shared vncauth.o -Wl,--relax -o vncauth.so
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.0/../../../../powerpc-unknown-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.


I could reproduce it in a i686-linux X powerpc-linux cross environment with
passing -lc:

powerpc-linux-gcc -shared vncauth.o -Wl,--relax -lc -o vncauth.so
collect2: ld terminated with signal 11 [Segmentation fault]


uname -a 
Linux golan 2.6.16 #3 Fri May 5 15:26:23 CEST 2006 ppc 7450, altivec supported
GNU/Linux

ld --version
GNU ld version 2.16.92 20060416
Copyright 2005 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.

gcc -v
Using built-in specs.
Target: powerpc-unknown-linux-gnu
Configured with: ../gcc-4.1.0/configure --prefix=/usr --enable-altivec
--disable-nls --disable-libmudflap --disable-libssp --enable-languages=c,c++
--enable-threads=posix --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.0

-- 
   Summary: ld segfaults in combination with --relax
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: critical
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: balkohen at gmail dot com
CC: bug-binutils at gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=2658

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/2658] ld segfaults in combination with --relax

2006-05-13 Thread balkohen at gmail dot com

--- Additional Comments From balkohen at gmail dot com  2006-05-13 17:46 
---
Subject: Re:  New: ld segfaults in combination with --relax

file vncauth.o
vncauth.o: ELF 32-bit MSB relocatable, PowerPC or cisco 4500, version
1 (SYSV), not stripped

--- Additional Comments From balkohen at gmail dot com  2006-05-13 17:46 
---
Created an attachment (id=1022)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1022&action=view)


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2658

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


/usr/bin/ld: unrecognized option '--as-needed'

2006-05-13 Thread Hypatia Rojas

Hi,
I am getting the following error:

c97b1mn32:/usr/src/linux-2.6.5-7.244
# make prepare cloneconfig
Makefile:438: .config: No such file
or directory
make[1]: Nothing to be done for `Makefile'.
Makefile:438: .config: No such file
or directory
  HOSTCC  scripts/basic/fixdep
/usr/bin/ld: unrecognized option '--as-needed'
/usr/bin/ld: use the --help option for
usage information
collect2: ld returned 1 exit status
make[3]: *** [scripts/basic/fixdep]
Error 1
make[2]: *** [scripts_basic] Error 2
make[1]: *** [include/linux/autoconf.h]
Error 2
make: *** [prepare] Error 2

Do you know what I need to do___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils