Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

Crosscompile on AMD64 for i586 fails...

Have an x86-64 problem? Post here.
Locked
Advanced search
2 posts • Page 1 of 1
Author
Message
ahzf
n00b
n00b
Posts: 1
Joined: Sun Mar 21, 2004 3:23 pm

Crosscompile on AMD64 for i586 fails...

  • Quote

Post by ahzf » Sun Mar 21, 2004 3:35 pm

I just tried to bootstrap an i586 gentoo on an AMD64-gentoo box but although I imo set the correct parameter in (the chrooted) /etc/make.conf "-mcpu=i586 -march=pentium" libtool compilation tries to build itself for a "x86_64-pc-linux"... Anyone knows how to circumvent this problem?

ahzf


make[1]: Entering directory `/var/tmp/portage/libtool-1.4.3-r4/work/libtool-1.3.5'
rm -f ltmain.shT
CONFIG_FILES=libtoolize CONFIG_HEADERS= ./config.status
date=`/bin/sh ./mkstamp < ./ChangeLog` && \
sed -e 's/@''PACKAGE@/libtool/' -e 's/@''VERSION@/1.3.5/' \
-e "s%@""TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT
creating libtoolize
mv -f ltmain.shT ltmain.sh || \
(rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT)
CC="gcc" CFLAGS="-O2 -mcpu=i586 -march=pentium -fomit-frame-pointer -pipe" CPPFLAGS="" \
LD="/usr/i586-pc-linux-gnu/bin/ld" LDFLAGS="" LIBS="" \
LN_S="ln -s" NM="/usr/bin/nm -B" RANLIB="ranlib" \
DLLTOOL="" OBJDUMP="" AS="" \
/bin/sh ./ltconfig --cache-file=./config.cache --with-gcc --with-gnu-ld --enable-dlopen --srcdir=. \
--output=libtool ./ltmain.sh
chmod +x libtoolize
loading cache ./config.cache within ltconfig
checking host system type... Invalid configuration `x86_64-pc-linux': machine `x86_64-pc' not recognized

make[1]: *** [libtool] Error 1
make[1]: Leaving directory `/var/tmp/portage/libtool-1.4.3-r4/work/libtool-1.3.5'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/libtool-1.4.3-r4 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! (no error message)
Top
thedd
n00b
n00b
User avatar
Posts: 20
Joined: Tue Jul 01, 2003 11:03 am
Location: sweden
Contact:
Contact thedd
Website

  • Quote

Post by thedd » Sun Mar 21, 2004 8:00 pm

You need to chroot with

Code: Select all

linux32 chroot /path/to/root /bin/bash
else uname -m will say you have a 64bit hardware...
good luck!
ted.
Top
Locked

2 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy