Am 2019-05-20 14:42, schrieb emiliocabrera via lfs-dev:
Hi. I´m at 5.5.1 Installation of Cross GCC, I´m building the LFS V8.4
on a VirtualBox machine with Debian x86_x64 installed. I get this
error:

Configuring stage 2 in ./intl
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for x86_64-pc-linux-gnu-gcc...
/lfs/sources/gcc-8.2.0/build/./prev-gcc/xgcc
-B/lfs/sources/gcc-8.2.0/build/./prev-gcc/
-B/tools/x86_64-pc-linux-gnu/bin/ -B/tools/x86_64-pc-linux-gnu/bin/
-B/tools/x86_64-pc-linux-gnu/lib/ -isystem
/tools/x86_64-pc-linux-gnu/include -isystem
/tools/x86_64-pc-linux-gnu/sys-include
checking for C compiler default output file name...
configure: error: in `/lfs/sources/gcc-8.2.0/build/intl':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:8925: recipe for target 'configure-stage2-intl' failed
make[2]: *** [configure-stage2-intl] Error 77
make[2]: Leaving directory '/lfs/sources/gcc-8.2.0/build'
Makefile:21584: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/lfs/sources/gcc-8.2.0/build'
Makefile:896: recipe for target 'all' failed
make: *** [all] Error 2

I had check the config.log on /lfs/sources/gcc-8.2.0/build/intl
directory and I get this:

configure:3000:  /lfs/sources/gcc-8.2.0/build/./prev-gcc/xgcc
-B/lfs/sources/gcc-8.2.0/build/./prev-gcc/
-B/tools/x86_64-pc-linux-gnu/bin/ -B/tools/x86_64-pc-linux-gnu/bin/
-B/tools/x86_64-pc-linux-gnu/lib/ -is$
/tools/x86_64-pc-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory /tools/x86_64-pc-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
/tools/x86_64-pc-linux-gnu/bin/ld: cannot find -lc
/tools/x86_64-pc-linux-gnu/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3004: $? = 1
configure:3041: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3047: error: in `/lfs/sources/gcc-8.2.0/build/intl':
configure:3051: error: C compiler cannot create executables
See `config.log' for more details.

In this config.log the error says /tools/x86_64-pc-linux-gnu/bin/ld:
cannot find crt1.o: No such file or directory I checked
/tools/x86_64-pc-linux-gnu/bin and "ld" ain´t a directory just a file.

ld should be a file, yes. Thats fine. Are the crt?.o files there (should appear in /tools/lib/)



I had being looking on internet I most of people just solve the
problem by reinstalling the HOST, or they solve the problem but they
don´t know how and the other answer I get is that I should install the
libc6-dev which I did but it din´t work.

Well, to check the hosts readyness, review chapter 2.2 and maybe run that check script there. Usually, reinstalling the host should never be required except a command executed by root user went crazy.


Please HELP!!!!!
Cool down man ;-) Some wise godness has invited issues in order to get us solving them.

In any case, 5.5.1 is a very early stage of LFS, throwing away what has been created so far might be an option and start again (just losing binutils). Double- and triple-check that the environment variables are set proper!

--
Thomas
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to