Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I don't remember if this is for this error, but I have this fix to build on Ubuntu:
gcc3$ git diff
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 30815af..840f75b 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -710,7 +710,7 @@ ALL_CFLAGS = $(X_CFLAGS) $(T_CFLAGS)
$(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) $(XCFLAGS) @DEFS@
# Likewise.
-ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
+ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS) -D_FORTIFY_SOURCE=0
# Build and host support libraries. FORBUILD is either
# .. or ../$(build_alias) depending on whether host != build. --- Quote End --- no longer gives that error XD ... has come to describe the memory map and gave this error:
401fa000-401fb000 rw-p 0000d000 08:03 1484135 /lib/libgcc_s.so.1
bf9c6000-bf9dd000 rw-p bffe8000 00:00 0
make: *** Aborted
make: *** Cancellazione del file «libgcc.a»
make: uscita dalla directory «/home/freak/Scrivania/nios2-linux/toolchain-build/build/gcc-bootstrap-build/gcc»
make: *** Errore 2
make: uscita dalla directory «/home/freak/Scrivania/nios2-linux/toolchain-build/build/gcc-bootstrap-build/gcc»
make: *** Errore 2
make: uscita dalla directory «/home/freak/Scrivania/nios2-linux/toolchain-build/build/gcc-bootstrap-build»
make: *** Errore 2