LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-19-2005, 04:07 PM   #1
RockM66
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Failure of gcc -m32 on an x86_64


gcc -m32 fails with the message:
"/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status"

The package glibc-devel-2.3.3-27 installs the file /usr/lib64/crt1.o, should it also be installing the file /usr/lib/crt1.o, etc, so that gcc -m32 will work?

I have tried fixing this by installing similar 32-bit packages (sorry, don't have the name of the package) but rpm complained of conflicts.

This can be a real hassle as configure files sometimes test gcc by using the -m32. One
example is GNU GRUB v0.94 where the configure script failed. I also have some 32-bit applications that I would like to compile for my x86_64 system, but sometimes that fails
if I use gcc without -m32 because you get seg faults if they treat pointers as 4 byte.

Does anyone know a way of fixing this problem? I've read about this elsewhere but haven't found an answer.

SPECS:
CPU: 2 x 3.2GHz Xeon Nocona
Linux: 2.6.5-1.358smp
Distro: FC2 x86_64
gcc: 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC 2.95.3 won't compile, Fedora Core 4 x86_64 slantoflight Linux - Software 3 08-31-2005 07:21 PM
DISTCC failure and GCC CHOST change jacoby Linux - Software 0 01-20-2005 01:53 AM
x86_64 Devel 2.6 kernel rpm failure? Bana Fedora 0 02-16-2004 03:09 PM
gcc install failure ............. eye Linux - Software 3 08-28-2003 11:35 PM
Chapter 5, GCC pass 1: compile failure Electrode Linux From Scratch 0 08-16-2003 07:31 PM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration