Summary: | dev-libs/openssl fails to compile with clang | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | clang+obsolete |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | openssl-1.0.1p:20150709-151853.log |
Description
Agostino Sarubbo
![]() Created attachment 406414 [details]
openssl-1.0.1p:20150709-151853.log
build log
With gcc it does not get the -Werror treatment: In file included from /usr/include/assert.h:35:0, from ssltest.c:146: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ Now to see where this -Werror comes from ;) should be all set now in the tree; thanks for the report! Commit message: Use _DEFAULT_SOURCE with newer glibc versions http://sources.gentoo.org/dev-libs/openssl/files/openssl-1.0.1p-default-source.patch?rev=1.1 http://sources.gentoo.org/dev-libs/openssl/openssl-1.0.1p.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/dev-libs/openssl/openssl-1.0.2d.ebuild?r1=1.1&r2=1.2 |