EmbLogic's Blog

Toolchain(Compiling gcc)

Encountered error while running make check in buid-gcc after running make.

/bin/sh: line 3: cd: x86_64-unknown-linux-gnu/libstdc++-v3: No such file or directory
make[1]: *** [check-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/emblogic/TOOLCHAIN/build-tools/build-gcc’
make: *** [do-check] Error 2

After using –enable-languages=”c” during configuration libstdc++-v3 error resolved. Now the error is for libmudflap.
How to disable libmudflap???

/bin/sh: line 3: cd: x86_64-unknown-linux-gnu/libmudflap: No such file or directory
make[1]: *** [check-target-libmudflap] Error 1
make[1]: Leaving directory `/home/emblogic/TOOLCHAIN/build-tools/build-gcc’
make: *** [do-check] Error 2

After using –disable-libmudflap, I got error below mentioned:

/bin/sh: line 3: cd: x86_64-unknown-linux-gnu/libssp: No such file or directory
make[1]: *** [check-target-libssp] Error 1
make[1]: Leaving directory `/home/emblogic/TOOLCHAIN/build-tools/build-gcc’
make: *** [do-check] Error 2

Used –disable-libssp

/bin/sh: line 3: cd: x86_64-unknown-linux-gnu/libgomp: No such file or directory
make[1]: *** [check-target-libgomp] Error 1
make[1]: Leaving directory `/home/emblogic/arm/TOOLCHAIN/build-tools/build-gcc’
make: *** [do-check] Error 2

Finally after disabling the flag libgomp. There is no error after make check. Compiled and installed gcc successfully…
Used –disable-libgomp
Snapshot:

PASS: test-expandargv-0.
PASS: test-expandargv-1.
PASS: test-expandargv-2.
PASS: test-expandargv-3.
PASS: test-expandargv-4.
PASS: test-expandargv-5.
PASS: test-expandargv-6.
make[3]: Leaving directory `/home/emblogic/arm/TOOLCHAIN/build-tools/build-gcc/libiberty/testsuite’
make[2]: Leaving directory `/home/emblogic/arm/TOOLCHAIN/build-tools/build-gcc/libiberty’
make[1]: Nothing to be done for `check-target’.
make[1]: Leaving directory `/home/emblogic/arm/TOOLCHAIN/build-tools/build-gcc’

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>