From: Doug A. <dou...@gm...> - 2004-11-30 08:15:22
|
64-bit userland in Gentoo and other linux sun4u distros definitely doesn't work. You absolutely need to specifiy 32-bit, unless things have changed very recently. Have you checked emerge to see what glibc version you have installed, and what version is expected by IPCop? On my sparcs and hppas running gentoo, I frequently had problems with "old" compilers and libraries. Sorry I can't be of more help, but maybe that will point you in the right direction. Doug On Mon, 29 Nov 2004 09:51:02 +0100 (CET), y b <yb...@ya...> wrote: > Hi, >=20 > thx for help, here are the results: > i tried -m32 but the problem is the same > i tried -mtune-ultrasparc but then nothing compiles >=20 > i do not know how to determine if Gentoo's libc > libraries was compiled as 32 bit or 64 bit :-( . i > just know they 've been compiled with "-O2 > -mcpu=3Dultrasparc -pipe" >=20 > YbbY >=20 > --- John Edwards <sh...@co...> a > =E9crit : >=20 >=20 > > On Fri, Nov 26, 2004 at 05:49:10PM +0100, y b wrote: > > > Hi all, > > > > > > i got gentoo running on a Sun Ultra 10. i'd like > > to > > > try to build IPCOP on it because the little Ultra > > 5 > > > sitting next the Ultra 10 would be a perfect IPCOP > > box > > > ;-) > > > > > > after a few modifications : > > > > > > # diff make.sh make.sh.orig > > > 50,54d49 > > > < elif [ 'sparc64' =3D $MACHINE ]; then > > > < echo "`date -u '+%b %e %T'`: sparc YO! " | > > tee > > > -a $LOGFILE > > > < BUILDTARGET=3Dsparc64-unknown-linux-gnu > > > < CFLAGS=3D"-O2 -mcpu=3Dultrasparc -pipe" > > > < CXXFLAGS=3D"-O2 -mcpu=3Dultrasparc -pipe" > > > > > > the build process stops on gcc : > > <snip> > > > > > /tools/sparc64-unknown-linux-gnu/bin/ld: skipping > > incompatible /usr/lib/libc.so when searching for -lc > > <snip> > > > > I think this incompatiblity is the start of your > > problems, and sounds > > like a 32 vs 64 bit issue. I believe that if you > > give the CPU type as > > ultrasparc then gcc assumes that you want 64 bit > > code (though I'm not > > 100% as I don't know which version of gcc you are > > using). > > > > So was Gentoo's libc libraries compiled as 32 bit or > > 64 bit ? > > > > > > Have a look at the documentation on > > http://gcc.gnu.org/ for lots of > > options on Sparc CPUs and 32 & 64 bit compiling. > > > > I suspect that very little of the IPCop code is 64 > > bit clean, so > > consider compiling 32 bit code with the'-m32' gcc > > option (it's not > > too much slower for most programs). > > > > Another gcc option you may want to consider for a > > UltraSPARC only > > build is '-mtune-ultrasparc', which sets the > > instruction scheduling > > for that particular chip. > > > > If you are still getting problems then a search on > > Google for the > > parts of above error message from ld may bring some > > clues. > > > > > > References: > > > > > http://gcc.gnu.org/onlinedocs/gcc-3.3.4/gcc/SPARC-Options.html > > http://www.osnews.com/printer.php?news_id=3D6136 > > > > > > -- > > > #---------------------------------------------------------# > > | John Edwards Email: Joh...@uk... > > | > > | > > | > > | A. Because it breaks the logical sequence of > > discussion | > > | Q. Why is top posting bad ? > > | > > > #---------------------------------------------------------# > > >=20 > =20 > Vous manquez d'espace pour stocker vos mails ? >=20 >=20 > Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! > Cr=E9ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ >=20 > Le nouveau Yahoo! Messenger est arriv=E9 ! D=E9couvrez toutes les nouveau= t=E9s pour dialoguer instantan=E9ment avec vos amis. A t=E9l=E9charger grat= uitement sur http://fr.messenger.yahoo.com >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > IPCop-devel mailing list > IPC...@li... > https://lists.sourceforge.net/lists/listinfo/ipcop-devel > |