Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322941 - dev-libs/ace-5.7.2: compiling fails with cc1plus internal error
Summary: dev-libs/ace-5.7.2: compiling fails with cc1plus internal error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
: 307595 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-06 07:58 UTC by DaggyStyle
Modified: 2012-04-20 19:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.40 KB, text/plain)
2010-06-06 07:59 UTC, DaggyStyle
Details
make.conf (make.conf,2.16 KB, text/plain)
2010-06-06 08:00 UTC, DaggyStyle
Details
environment (environment,88.05 KB, text/plain)
2010-06-09 06:01 UTC, DaggyStyle
Details
build.log (build.log,689.75 KB, text/plain)
2010-06-09 06:02 UTC, DaggyStyle
Details
patch to remove -O3 in source configure script (5.7.2-O3.patch,291 bytes, patch)
2010-07-16 16:51 UTC, Roman v. Gemmeren
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2010-06-06 07:58:47 UTC
here is the snip: creating RB_Tree_Functors
/bin/sh ../../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -W -Wall -Wpointer-arith  -march=core2 -O2 -pipe -msse4.1 -pthread -pipe -O3  -Wl,-O1 -o Stacks  Stacks-Stacks.o ../../../ace/libACE.la -laio -ldl
x86_64-pc-linux-gnu-g++ -W -Wall -Wpointer-arith -march=core2 -O2 -pipe -msse4.1 -pipe -O3 -Wl,-O1 -o .libs/RB_Tree RB_Tree-RB_Tree.o  -pthread ../../../ace/.libs/libACE.so -laio -ldl
creating RB_Tree
x86_64-pc-linux-gnu-g++ -W -Wall -Wpointer-arith -march=core2 -O2 -pipe -msse4.1 -pipe -O3 -Wl,-O1 -o .libs/Stacks Stacks-Stacks.o  -pthread ../../../ace/.libs/libACE.so -laio -ldl
creating Stacks
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [Sets-Sets.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/ace-5.7.2/work/ACE_wrappers/build/examples/APG/Containers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/ace-5.7.2/work/ACE_wrappers/build/examples/APG'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/ace-5.7.2/work/ACE_wrappers/build/examples'
make: *** [all-recursive] Error 1
 * ERROR: dev-libs/ace-5.7.2 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2358:  Called die
 * The specific snippet of code:
 *       emake static_libs=1 || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-libs/ace-5.7.2',
 * the complete build log and the output of 'emerge -pqv =dev-libs/ace-5.7.2'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/ace-5.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/ace-5.7.2/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/ace-5.7.2/work/ACE_wrappers' 

I am using gcc-4.4.3-r2
one of the devs has suggested that -O3 shouldn't be forced.


Reproducible: Always
Comment 1 DaggyStyle 2010-06-06 07:59:54 UTC
Created attachment 234277 [details]
emerge --info
Comment 2 DaggyStyle 2010-06-06 08:00:14 UTC
Created attachment 234279 [details]
make.conf
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-06-06 21:45:59 UTC
Hi, 
please attach the /var/tmp/portage/dev-libs/ace-5.7.2/temp/build.log and the /var/tmp/portage/dev-libs/ace-5.7.2/temp/environment , 
thanks Michael
Comment 4 DaggyStyle 2010-06-09 06:01:39 UTC
Created attachment 234647 [details]
environment
Comment 5 DaggyStyle 2010-06-09 06:02:06 UTC
Created attachment 234649 [details]
build.log
Comment 6 Roman v. Gemmeren 2010-07-16 16:49:45 UTC
(In reply to comment #5)
> Created an attachment (id=234649) [details]
> build.log
> 

Hi,

looks like the latest dev-libs/ace-5.7.2 still needs 
sed -i "s/-O3//" ${S}/configure before ECONF, otherwise it will fail.
Comment 7 Roman v. Gemmeren 2010-07-16 16:51:41 UTC
Created attachment 239075 [details, diff]
patch to remove -O3 in source configure script

replaces every "-O3" with "" in configure script
Comment 8 Piotr Karbowski (RETIRED) gentoo-dev 2010-11-14 23:31:09 UTC
+1, I wonder when this fix will be in portage.
Comment 9 Pacho Ramos gentoo-dev 2011-07-20 15:18:47 UTC
*** Bug 307595 has been marked as a duplicate of this bug. ***
Comment 10 Pacho Ramos gentoo-dev 2012-04-20 19:30:19 UTC
+  20 Apr 2012; Pacho Ramos <pacho@gentoo.org> -ace-5.6.1.ebuild,
+  -ace-5.6.5-r1.ebuild, -ace-5.6.5-r2.ebuild, -ace-5.6.5.ebuild,
+  ace-5.7.2.ebuild:
+  Drop -O3 flag per bug #322941, letting it be the only version still compiling
+  for me in the tree.
+