Summary: | dev-util/diffball-1.0.1 fails to compile with gcc-5.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Väth <martin> |
Component: | [OLD] GCC Porting | Assignee: | Rafael Martins (RETIRED) <rafaelmartins> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | iskatu, rhill |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536984 | ||
Attachments: | build log |
Description
Martin Väth
2015-05-01 10:39:50 UTC
Need a build log. The linking fails with undefined references of the type libdiffball/.libs/libdiffball.so: undefined reference to `RHash_cleanse' (and 5 others) Which is clear since we have include/diffball/hash.h:inline signed int RHash_cleanse([...]); libdiffball/hash.c:RHash_cleanse([...]) Under c90 this is legal, but under newer C dialects, this will inline RHash_cleanse and not export it. Created attachment 402606 [details]
build log
commit ac593a5e7f2472d3651bdfb6551497449fd9853f Author: David Seifert <soap@gentoo.org> Date: Sat Apr 2 23:48:10 2016 +0200 dev-util/diffball: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics Gentoo-Bug: 548316 * EAPI=6 |