Skip to content

fix-build-when-std-gnu99-and-inline-functions-are-used

Lada Trimasova buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2host-tar: fix build when -std=gnu99 and inline functions are usedpackage/tar/tar.mk+1 -00 replies
2/2host-m4: fix build when -std=gnu99 and inline functions are usedpackage/m4/m4.mk+1 -01 reply
2/2host-m4: fix build when -std=gnu99 and inline functions are usedpackage/m4/m4.mk+1 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] fix-build-when-std-gnu99-and-inline-functions-are-used

A lot of the glibc header files use extern inline, which causes GCC to emit a symbol for each extern inline functions and it causes functions multiple definition error when "-std=gnu99" is used. To fix this problem it's necessary to use "-fgnu89-inline" option, which tells GCC to use the traditional GNU semantics for inline functions when in C99 mode.

Cc Alexey Brodkin <[email protected]>
Cc Thomas Petazzoni <[email protected]>
Cc Peter Korsgaard <[email protected]>

Lada Trimasova (2):
host-tar: fix build when -std=gnu99 and inline functions are used
host-m4: fix build when -std=gnu99 and inline functions are used

 package/m4/m4.mk   | 1 +
 package/tar/tar.mk | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.5.0