Am Montag, 8. August 2005 04:15 schrieb Chris Lattner:> > I have never seen this, and don't really have any ideas. What configure > options did you use? Did you follow the directions here? > > http://llvm.cs.uiuc.edu/docs/CFEBuildInstrs.html >Yes I followed those instructions - almost. This is my configure line: ../src/configure --prefix=/usr --disable-threads --disable-nls --disable-shared --enable-languages=c,c++ --program-prefix=llvm- Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050808/e9410777/attachment.sig>
Stephan, I've seen this before. It happens when you do "make bootstrap" in llvm-gcc. While "make bootstrap" is the correct way to build GCC, its not the correct way to build llvm-gcc. Based on my experience with this, I suggest you completely erase your build tree and then follow the CFEBuildInstr.html instructions *to the letter* with zero deviations. If you didn't do "make bootstrap", then I don't have a clue what this problem is :) Reid. Stephan Wienczny wrote:> Am Montag, 8. August 2005 04:15 schrieb Chris Lattner: > >>I have never seen this, and don't really have any ideas. What configure >>options did you use? Did you follow the directions here? >> >>http://llvm.cs.uiuc.edu/docs/CFEBuildInstrs.html >> > > > Yes I followed those instructions - almost. This is my configure line: > > ../src/configure --prefix=/usr --disable-threads --disable-nls > --disable-shared --enable-languages=c,c++ --program-prefix=llvm- > > Stephan > > > ------------------------------------------------------------------------ > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Am Montag, 8. August 2005 18:12 schrieb Reid Spencer:> Stephan, > > I've seen this before. It happens when you do "make bootstrap" in llvm-gcc. > While "make bootstrap" is the correct way to build GCC, its not the correct > way to build llvm-gcc. > > Based on my experience with this, I suggest you completely erase your build > tree and then follow the CFEBuildInstr.html instructions *to the letter* > with zero deviations. > > If you didn't do "make bootstrap", then I don't have a clue what this > problem is :) > > Reid. >Hallo, do you know if bootstrap is the default target? This is what I'm doing: <code> inherit eutils DESCRIPTION="C, C++ Frontend for Low Level Virtual _Machine" HOMEPAGE="http://llvm.org/" SRC_URI="http://llvm.cs.uiuc.edu/releases/${PV}/cfrontend-${PV}.source.tar.gz" LICENSE="llvm" SLOT="0" KEYWORDS="~ppc ~sparc ~x86" IUSE="" DEPEND S=${WORKDIR}/cfrontend src_unpack() { unpack ${A} cd cfrontend mkdir build } src_compile() { cd ${S}/build ../src/configure --prefix=/usr --disable-threads --disable-nls --disable-shared --enable-languages=c,c++ --program-prefix=llvm- emake || die } src_install() { emake DESTDIR=${D} install || die } </code> maybe I should try emake all instead of emake... I'll try. Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050808/b637af97/attachment.sig>