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

Bug 394381

Summary: Segfault while compiling =app-antivirus/clamav-0.97.3 with sys-devel/gcc:4.5
Product: Gentoo/Alt Reporter: Dmitri Bogomolov <4glitch>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Dmitri Bogomolov 2011-12-11 21:31:19 UTC
libclamav/bytecode_api.c rises segmentation fault while compiling clamav-0.97.3 with i686-gentoo-freebsd8.2-4.5.3. OK with i686-gentoo-freebsd8.2-4.4.5.


Reproducible: Always
Comment 1 Dmitri Bogomolov 2011-12-11 21:32:18 UTC
Created attachment 295499 [details]
build.log
Comment 2 Tibor Vago 2011-12-12 09:42:58 UTC
This is the same issue as in #390425
Please mask >=mpfr-3.1.0 in fbsd and then try again.
Comment 3 Dmitri Bogomolov 2011-12-12 20:32:27 UTC
(In reply to comment #2)
> This is the same issue as in #390425
> Please mask >=mpfr-3.1.0 in fbsd and then try again.

Downgrade mpfr to 3.0.1_p4-r1 didn't help. And now I can't even build sys-devel/gcc-4.5.3-r1, configure says:

checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.
...

unsure is this still relevant to this bug.
Comment 4 Dmitri Bogomolov 2011-12-19 21:38:29 UTC
I've compiled both sys-devel/gcc-4.5.3-r2 and app-antivirus/clamav-0.97.3 after downgrade to =dev-libs/mpfr-3.0.1_p4.