[lug] linux from scratch - glibc build error

Michael J. Hammel mjhammel at graphics-muse.org
Wed Nov 16 14:30:51 MST 2005


On Tue, 2005-11-15 at 17:38 -0700, Zan Lynx wrote:
> On Tue, 2005-11-15 at 17:19 -0700, David L. Anselmi wrote:
> > Michael J. Hammel wrote:
> > [...]
> > > /tmp/ccGiggx3.s: Assembler messages:
> > > /tmp/ccGiggx3.s:348: Error: symbol `__divdi3' is already defined
> > > /tmp/ccGiggx3.s:425: Error: symbol `__moddi3' is already defined
> > > /tmp/ccGiggx3.s:516: Error: symbol `__udivdi3' is already defined
> > > /tmp/ccGiggx3.s:554: Error: symbol `__umoddi3' is already defined
> > > make[2]: *** [/mnt/lfs/sources/glibc-build/csu/divdi3.os] Error 1
> 
> I just saw these on Gentoo unstable.  It's the binutils package (ld, as,
> etc).  You need the newest stuff.

Actually, I needed to back track to the version specified in the latest
stable LFS guide.  I was building binutils-2.16.91.0.4 but the LFS said
to use binutils-2.15.94.0.2.2.  Sure enough, that did the trick.  

Migrating from one version of the binutils/gcc/glibc to another is a bit
tricky, apparently.  There is probably a 1-to-1 correspondence, so if
you move up a version in one you may need to move up in the others.  But
that's just a guess on my part.

Anyway, using the specified versions in the LFS worked.  On to the rest
of the build...

Thanks.
-- 
Michael J. Hammel           |
The Graphics Muse           |   Chinese Proverb:
mjhammel at graphics-muse.org  |      Man who eat many prunes get good run for
http://www.graphics-muse.com       money.




More information about the LUG mailing list