I think I have these issues mostly worked out.  See below.

On Thu, Nov 13, 2003 at 01:19:46PM -0800, Garrick Staples alleged:
> As anyone had luck with rebuilding RHE3 for x86_64?  
> 
> glibc:
> RH does something really weird here, they install two glibc packages,
> one built for x86_64 and another built for i686.  These packages
> actually conflict with each other since they both own files in /etc,
> /sbin, /usr/lib/gconv, etc.  The i686 package puts libs into /lib and
> the x86_64 package puts libs into /lib64.  It seems that normal rpm
> tools will have problems with this arrangement.
> 
> I figure I have three choices: rename the 32bit version to "glibc32" and
> leave out the common files already owned by the 64bit glibc, completely
> leave out the 32bit glibc and see if everything still works (foregoing
> 32bit operability), copy RH and deal with other eventual maintenance
> problems.

I'm moving forward with the first solution.  I'm adding spec file --with
options for "32bitcompat" and creating "compat-i686-%{name}" packages
for glibc, ncurses, gpm, and zlib.  This is a significant departure from
RH, but I think the non-conflicting package names will make
administration easier in the future.


> gcc:
> Not nearly as complicated as glibc, rebuilding results in an error about
> not finding crti.o:

It was erroring while building a 32bit libgcc, so it needed a 32bit version
of glibc-devel installed.

> grub:
> Basicly the same error as gcc.

Grub's configure script has a forced -m32; I guess x86_64 needs a 32bit
boot loader?

Installing the 32bit glibc-devel fixed this.


-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to