Opened on 12/19/17 at 13:55:52
Last modified on 01/23/18 at 03:03:54
#3262 assigned defect
GCC-4 Build failure with GCC-4.3+ — at Version 2
Reported by: | Gedare Bloom | Owned by: | Chris Johns |
---|---|---|---|
Priority: | normal | Milestone: | 4.10.3 |
Component: | tool/rsb | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description (last modified by Gedare Bloom)
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 (2)
comment:1 Changed on 12/19/17 at 13:56:02 by Gedare Bloom
Owner: | set to Chris Johns |
---|---|
Status: | new → assigned |
comment:2 Changed on 12/19/17 at 13:56:59 by Gedare Bloom
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.