Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427300 - sys-fs/reiserfsprogs fails to build with clang-3.1-r4
Summary: sys-fs/reiserfsprogs fails to build with clang-3.1-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2012-07-20 12:15 UTC by Fabio Scaccabarozzi
Modified: 2013-04-27 09:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge fail log (sys-fs:reiserfsprogs-3.6.21-r1:20120719-225346.log,16.87 KB, text/plain)
2012-07-20 12:15 UTC, Fabio Scaccabarozzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Scaccabarozzi 2012-07-20 12:15:44 UTC
Created attachment 318708 [details]
emerge fail log

sys-fs/reiserfsprogs fails to build with clang-3.1-r4, all available versions, same error output.
Comment 1 Fabio Scaccabarozzi 2012-07-21 12:35:06 UTC
update: all versions compile and pass tests with GCC 4.6.3
Comment 2 Bernard Cafarelli gentoo-dev 2012-12-19 09:21:11 UTC
This is caused by clang defaulting to C99 while gcc defaults to GNU89, see:
http://clang.llvm.org/compatibility.html#inline

Appending "-std=gnu89" to CFLAGS is the fastest fix Gentoo-side, a cleaner one is to fix the fauly inlines
Comment 3 SpanKY gentoo-dev 2013-04-27 09:38:17 UTC
should be all set now in the tree; thanks for the report!

Commit message: Force selection of -std=gnu89 for clang
http://sources.gentoo.org/sys-fs/reiserfsprogs/reiserfsprogs-3.6.22.ebuild?r1=1.1&r2=1.2