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

Bug 674316

Summary: dev-libs/cyrus-sasl-2.1.27 calls `gcc` directly
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeroen Roovers (RETIRED) gentoo-dev 2019-01-02 10:28:13 UTC
This looks weird:

checking for hppa2.0-unknown-linux-gnu-gcc... hppa2.0-unknown-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether hppa2.0-unknown-linux-gnu-gcc accepts -g... yes
checking for hppa2.0-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking whether hppa2.0-unknown-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of hppa2.0-unknown-linux-gnu-gcc... none
checking how to run the C preprocessor... hppa2.0-unknown-linux-gnu-gcc -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking how to run the C preprocessor... hppa2.0-unknown-linux-gnu-gcc -E

and then later:

 * .hppa: running multilib-minimal_abi_src_compile
make -j3
(CDPATH="${ZSH_VERSION+.}:" && cd /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/work/cyrus-sasl-2.1.27 && /bin/sh /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/wo
rk/cyrus-sasl-2.1.27/config/missing autoheader)
rm -f stamp-h1
touch /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/work/cyrus-sasl-2.1.27/config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/work/cyrus-sasl-2.1.27-.hppa'
Making all in include
make[2]: Entering directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/work/cyrus-sasl-2.1.27-.hppa/include'
gcc -g -O2 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -I/usr/lib   /var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/work/cyrus-sasl-2.1.27/include/makemd5.c   -o makemd5
double free or corruption (out)
make[2]: *** [<builtin>: makemd5] Aborted
make[2]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/work/cyrus-sasl-2.1.27-.hppa/include'
make[1]: *** [Makefile:684: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.27/work/cyrus-sasl-2.1.27-.hppa'
make: *** [Makefile:552: all] Error 2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-02 10:28:49 UTC
The failure at the end probably relates to FEATURES=distcc.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-02-10 11:39:46 UTC

*** This bug has been marked as a duplicate of bug 448352 ***