[Aurora-sparc-user] Bridging on Netra X1
Tom "spot" Callaway
tcallawa at redhat.com
Mon Dec 8 18:19:39 EST 2008
On Mon, 2008-12-08 at 13:16 -0800, Gary W. Smith wrote:
> Spot,
>
> Follow up question then. Is there anything special I need to do to
> compile 64bit under sparc64 with 32bit userland? Or is it just
> implied that anything compiled in that environment will default to
> 64bit?
>
> I'm familair with compiling RPM's and know that if I create a 32bit
> chroot it defaults to 32bit even on x64 but I've never compiles
> anything on sparc.
Well, you need to be sure that you have 64bit versions of any libraries
that you want to link to. For bridge-utils, this would just be glibc.
There is a glibc.sparc64 rpm in all of the Aurora trees, just grab the
one that matches your Aurora install and manually install it (with -i,
not -U). You'll now have two glibc packages installed on your system,
the 32bit one and the 64bit one.
Now, if you run:
rpmbuild --rebuild --target sparc64 bridge-utils-*.src.rpm
It should rebuild cleanly and spit out a bridge-utils-*.sparc64.rpm.
Remove any 32 bit bridge-utils package that you have installed (rpm -e
bridge-utils) then install the new sparc64 rpm. See if that works
better. It may not. :/
~spot
More information about the Aurora-sparc-user
mailing list