#3262 assigned defect

GCC-4 Build failure with GCC-4.3+ — at Initial Version

Reported by: Gedare Bloom Owned by:
Priority: normal Milestone: 4.10.3
Component: tool/rsb Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

While building 4.10 tools (gcc-4.4.7) with gcc 5.4, I stumbled on the issue discussed at https://bugzilla.redhat.com/show_bug.cgi?id=476370

The gcc build apparently needs -fgnu89-inline

I hacked the following fix locally in my 4.10 RSB branch, but am not sure of the appropriate long-term solution:
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg
index 941e15c..d2608ec 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-common-1.cfg
@@ -167,7 +167,7 @@ BuildRoot?: %{_tmppath}/%{name}-root-%(%{id_u} -n)

cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h

fi


  • %{make} %{?_smp_mflags} all

+ %{make} %{?_smp_mflags} CFLAGS="-fgnu89-inline" all

cd ${build_top}


Change History (0)

Note: See TracTickets for help on using tickets.