Mildly off topic, hoping to find someone with experience rolling their
own gcc for Linux on a Sparc64, preferably Red Hat flavored.

I have a Sun Ultra 1 that was orphaned when there was no Red Hat 7.0 for
the Sparc.  I'm trying to keep it up to date as well as I can on my own,
and with RPM's at that, but I've run into the inevitable never-ending
chain of library dependencies.

The current blockage is that there's a component of gcc that I can't
find in the version I need, but I can find the gcc source rpm.  Okay, so
build the SRPM and grab the bits I need.  But when I try that I run into
this (from rpm --rebuild gcc-2.96-69.src.rpm):

<snip>
stage1/xgcc -Bstage1/ -B/usr/sparc64-redhat-linux/bin/  -DIN_GCC    -W
-Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -O2 -O2 
-mtune=ultrasparc  -DHAVE_CONFIG_H  -o gencheck \
 gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case ""
in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*)
echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
/usr/bin/ld: cannot open /usr/lib64/crt1.o: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [gencheck] Error 1
<snip make's death throes>

Googling for "lib64" turns up a couple of interesting items, mention of
a someday-forthcoming 64-bit userland for Linux/SPARC, and assertions
that up to now there is no such thing, all from about a year back. 
There is a glibc64 package for Linux/SPARC that appears to be dated from
1998, but it contains nothing that looks like a lib64 directory.  And
obviously somebody has been building gcc for Sparc64 boxes since then.

So I'm supposing that I should just be able to tell my SRPM not to
bother with lib64, but I'm out of my depth when it comes to how.  Ditto
for toying with the source tarballs.  I mean I'm sure I could dig
through the source and just yank every reference I find to "lib64", but
that strikes me as Wrong-Headed.

Help?

Thanks,
-m
-- 
Michael Jinks  mjinksATsysvi.com ~*~ http://www.yellow5.com/pokey/ 
unconfirmed: the linux penguin;the bsd daemon;the sunOS brain slug



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to