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

Compile Issue #6

Open
weingaunity opened this issue May 28, 2016 · 2 comments
Open

Compile Issue #6

weingaunity opened this issue May 28, 2016 · 2 comments

Comments

@weingaunity
Copy link

I try to compile the gcc toolchain on linux and get following error:

There is some issue within the created command for compilation. Can you support me plz.

make[3]: Verzeichnis „/home/kw/Work/zpugcc/toolchain/build/ld“ wird betreten
/bin/sh ../../binutils/ld/../ylwrap "" ../../binutils/ld/ldgram.y y.tab.c ldgram.c y.tab.h ldgram.h -- -d
../../binutils/ld/../ylwrap: 86: ../../binutils/ld/../ylwrap: -d: not found
Makefile:407: die Regel für Ziel „ldgram.c“ scheiterte
make[3]: *** [ldgram.c] Fehler 1
make[3]: Verzeichnis „/home/kw/Work/zpugcc/toolchain/build/ld“ wird verlassen
Makefile:574: die Regel für Ziel „all-recursive“ scheiterte
make[2]: *** [all-recursive] Fehler 1
make[2]: Verzeichnis „/home/kw/Work/zpugcc/toolchain/build/ld“ wird verlassen
Makefile:745: die Regel für Ziel „all-recursive-am“ scheiterte
make[1]: *** [all-recursive-am] Fehler 2
make[1]: Verzeichnis „/home/kw/Work/zpugcc/toolchain/build/ld“ wird verlassen
Makefile:19975: die Regel für Ziel „all-ld“ scheiterte
make: *** [all-ld] Fehler 2

@boert
Copy link

boert commented Jun 1, 2016

You need to install the "byacc" package,

@weingaunity
Copy link
Author

So compiling continued, but now i got following issue:

gcc -D_FORTIFY_SOURCE=0 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -o cc1plus
cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-lang.o cp/name-lookup.o cp/cxx-pretty-print.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o main.o libbackend.a libcpp.a ../libiberty/libiberty.a
cp/except.o: In Funktion nothrow_libfn_p': except.c:(.text+0x2225): Nicht definierter Verweis auflibc_name_p'
collect2: error: ld returned 1 exit status
../../gcc/gcc/cp/Make-lang.in:90: die Regel für Ziel „cc1plus“ scheiterte
make[1]: *** [cc1plus] Fehler 1
make[1]: Verzeichnis „/home/kw/Work/zpugcc/toolchain/gccbuild/gcc“ wird verlassen
Makefile:23339: die Regel für Ziel „all-gcc“ scheiterte
make: *** [all-gcc] Fehler 2

LongHairedHacker added a commit to LongHairedHacker/zpugcc that referenced this issue Jan 31, 2017
rbarzic added a commit to rbarzic/zpugcc that referenced this issue Jan 22, 2018
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