Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 427342

Summary: dev-libs/apr fails to build with clang-3.1-r4
Product: Gentoo Linux Reporter: Fabio Scaccabarozzi <fsvm88>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, poletti.marco, ryao
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963, 474586    
Attachments: emerge fail log

Description Fabio Scaccabarozzi 2012-07-20 15:44:38 UTC
Created attachment 318742 [details]
emerge fail log

dev-libs/apr fails to build with clang-3.1-r4, both versions available fail at compile phase.
Comment 1 poletti.marco 2012-12-29 16:55:39 UTC
This seems the same issue as in: https://github.com/jabberwik/homebrew-httpd/issues/2

And it works after adding LTFLAGS=--tag=cc to the econf parameters.
I'm not sure whether this is the proper fix or just a workaround, though.
Comment 2 Bernard Cafarelli gentoo-dev 2014-01-30 19:43:59 UTC
=dev-libs/apr-1.5.0-r1 compiles and passes tests with clang 3.4 (1.4.8 has the same compilation error)