Re: amd64

Stefan Fent <[email protected]> Thu, 5 Feb 2004 21:26:18 +0100
Newsgroups gmane.linux.lsb.implementation
Message-ID <[email protected]>
* Wichmann, Mats D <[email protected]> [040205 14:51]:
> 
> > > So then...
> > > 
> > > How did we get to the situation you reported, where
> > > you say gettext from binutils is being used?  Now
> > > I'm quite confused!  Is there maybe a bug in this
> > > version of binutils that causes it, despite the
> > > configure detection working as expected?
> > 
> > It's at least (didn't test with others)
> > /usr/bin/msgfmt which is needed in the buildroot to make 
> > binutils use gettext from glibc.
> > So this is a bug in the configure from binutils,
> > or the gettext-package is needed in the buildroot for phase2
> 
> 
> Okay, this confirms a suspicion I had earlier.
> I ran into something that looked very much like
> a "needs something from gettext" problem building
> binutils 2.14.90.0.7. If if doesn't have dependencies
> on other things not built yet, it should be possible
> to move the gettext build up to before binutils,
> or perhaps there should be a copy built as part
> of the bootstrap, too.

I'll try that tomorrow.

> 
> Can you try changing the order of builds in
> phase2/package-build/package-build.xml ?

No, it fails during configure:

-: checking for xlC_r... no
-: checking for xlC... no
-: checking whether we are using the GNU C++ compiler... no
-: checking whether g++ accepts -g... no
-: checking dependency style of g++... none
-: checking how to run the C++ preprocessor... /lib/cpp
-: configure: error: C++ preprocessor "/lib/cpp" fails sanity check
-: See `config.log' for more details.
-: configure: error: /bin/sh './configure' failed for autoconf-lib-link
I: Log file stored in "/root/.nALFS/packages/gettext-0.12.1.log".
E: Execution failed (1).
I: Executing for 00:14:29, total 00:14:29.

make: *** [intermediate] Error 255]

 
I'm actually trying to find out wether it's possible to use gettext from 
glibc w/o the binaries.

I already continued a bit meanwhile and need: 

 <param>--disable-multilib</param>

in the configure section of phase2/package-build/gcc.xml

so that the compiler doesn't try to build the 32bit part, which needs
a 32bit glibc which we don't have.

Could you please add this line?

> Thanks,
> 
> Mats
>  
> 
Thanks,

Stefan
-- 
Stefan Fent 
SuSE Linux AG, Maxfeldstr. 5, D-90409 Nuernberg