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

Bug 487414

Summary: app-antivirus/clamav fails to compile on ppc64: unrecognized command line option '-mminimal-toic'
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: antivirus
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 467710    

Description Agostino Sarubbo gentoo-dev 2013-10-09 11:15:28 UTC
configure:3783: checking for C compiler default output file name
configure:3805: powerpc64-unknown-linux-gnu-gcc -O2 -pipe -mminimal-toic  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu conftest.c  >&5
powerpc64-unknown-linux-gnu-gcc: error: unrecognized command line option '-mminimal-toic'
configure:3809: $? = 1
configure:3847: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "ClamAV"
| #define PACKAGE_TARNAME "clamav"
| #define PACKAGE_VERSION "0.97.7"
| #define PACKAGE_STRING "ClamAV 0.97.7"
| #define PACKAGE_BUGREPORT "http://bugs.clamav.net/"
| #define PACKAGE PACKAGE_NAME
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3853: error: in `/var/tmp/portage/app-antivirus/clamav-0.97.7/work/clamav-0.97.7':
configure:3856: error: C compiler cannot create executables
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-10-09 11:28:53 UTC
+  09 Oct 2013; Kacper Kowalik <xarthisius@gentoo.org> clamav-0.97.7.ebuild,
+  clamav-0.97.8-r2.ebuild, clamav-0.97.8.ebuild, clamav-0.98.ebuild:
+  Fix typo in -mminimal-toc wrt #487414 by Agostino Sarubbo <ago@gentoo.org>