Hallo, I'm trying to write an gentoo ebuild for the c frontend. When make runs libstdc++/configure I get some problems: configure tries to determine the object extensionbut fails. This is the output: checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... checking for perl... perl checking build system type... i686-pc-linux-gnu checking host system type... /bin/install -c checking whether build environment is sane... i686-pc-linux-gnu checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-gcc... /var/tmp/portage/llvm-gcc-1.5/work/cfrontend/build/gcc/xgcc -B/var/tmp/portage/llvm-gcc-1.5/work/cfrontend/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make: *** [configure-target-libiberty] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse... The config.log does not help. I think there might be some problem with the xgcc... Do you have an idea what could be wrong? 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/b42e4763/attachment.sig>
On Mon, 8 Aug 2005, Stephan Wienczny wrote:> Hallo, > I'm trying to write an gentoo ebuild for the c frontend. When make runs > libstdc++/configure I get some problems: > configure tries to determine the object extensionbut fails. This is the > output: > > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking for a BSD-compatible install... checking for perl... perl > checking build system type... i686-pc-linux-gnu > checking host system type... /bin/install -c > checking whether build environment is sane... i686-pc-linux-gnu > checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar > checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib > checking for > i686-pc-linux-gnu-gcc... /var/tmp/portage/llvm-gcc-1.5/work/cfrontend/build/gcc/xgcc > -B/var/tmp/portage/llvm-gcc-1.5/work/cfrontend/build/gcc/ > -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ > -isystem /usr/i686-pc-linux-gnu/include > -isystem /usr/i686-pc-linux-gnu/sys-include > checking for suffix of object files... configure: error: cannot compute suffix > of object files: cannot compile > See `config.log' for more details. > make: *** [configure-target-libiberty] Fehler 1 > make: *** Warte auf noch nicht beendete Prozesse... > > The config.log does not help. I think there might be some problem with the > xgcc... Do you have an idea what could be wrong?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 -Chris -- http://nondot.org/sabre/ http://llvm.org/
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>