Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't build, failing to find libiberty.a #1

Closed
mheyer32 opened this issue Jan 15, 2018 · 2 comments
Closed

Doesn't build, failing to find libiberty.a #1

mheyer32 opened this issue Jan 15, 2018 · 2 comments

Comments

@mheyer32
Copy link
Contributor

A new build failed for reason hightlighted below.
I was building with the non-default PREFIX:

make all PREFIX=/home/matze/amigatoolchain/gcc-6.2/m68k-amigaos_2/ -j8

matze@ubuntu-VirtualBox:~/amigatoolchain/gcc-6.2/amiga-gcc$ find ./ -name *iberty*
./build/gcc/build-x86_64-pc-linux-gnu/libiberty
./build/gcc/build-x86_64-pc-linux-gnu/libiberty/libiberty.a
./build/gcc/libiberty
./build/binutils/libiberty
./projects/gcc/include/libiberty.h
./projects/gcc/libiberty
./projects/gcc/libiberty/libiberty.texi
./projects/binutils/include/libiberty.h
./projects/binutils/libiberty
./projects/binutils/libiberty/libiberty.texi

It looks like 'build-x86_64-pc-linux-gnu' is missing in the search path to libiberty.a:


~/amigatoolchain/gcc-6.2/amiga-gcc
pushd build/gcc; make install-gcc; popd
~/amigatoolchain/gcc-6.2/amiga-gcc/build/gcc ~/amigatoolchain/gcc-6.2/amiga-gcc
make[2]: Entering directory '/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/build/gcc'
/bin/bash /home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/mkinstalldirs /home/matze/amigatoolchain/gcc-6.2/m68k-amigaos_2 /home/matze/amigatoolchain/gcc-6.2/m68k-amigaos_2
/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/macro.c: In function ‘bool create_iso_definition(cpp_reader*, cpp_macro*)’:
/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/macro.c:3093:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
                                                          ^
/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/macro.c:3106:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
                                                          ^
g++  -I/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp -I. -I/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/../include -I/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/include  -Os -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long  -fno-exceptions -fno-rtti -I/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp -I. -I/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/../include -I/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/include   -c -o mkdeps.o -MT mkdeps.o -MMD -MP -MF .deps/mkdeps.Tpo /home/matze/amigatoolchain/gcc-6.2/amiga-gcc/projects/gcc/libcpp/mkdeps.c
make[3]: Entering directory '/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/build/gcc/fixincludes'
**make[3]: *** No rule to make target '../libiberty/libiberty.a', needed by 'full-stamp'.  Stop.**
make[3]: Leaving directory '/home/matze/amigatoolchain/gcc-6.2/amiga-gcc/build/gcc/fixincludes'
Makefile:3577: recipe for target 'install-fixincludes' failed
make[2]: *** [install-fixincludes] Error 2
make[2]: *** Waiting for unfinished jobs....

@bebbo
Copy link
Owner

bebbo commented Feb 5, 2018

please retest

@mheyer32
Copy link
Contributor Author

mheyer32 commented Feb 6, 2018

Seems to be fixed! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants