This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52241] Performance degradation of 447.dealII on corei7 at spec2006_base32.
- From: "izamyatin at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 19 Feb 2012 18:58:41 +0000
- Subject: [Bug c++/52241] Performance degradation of 447.dealII on corei7 at spec2006_base32.
- Auto-submitted: auto-generated
- References: <bug-52241-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52241
--- Comment #16 from Igor Zamyatin <izamyatin at gmail dot com> 2012-02-19 18:58:41 UTC ---
Jakub, could you please clarify your statement - "But libstdc++.so.6's tree.cc
has been compiled with
-fPIC -DPIC before Benjamin's change and is compiled with those flags after
those changes as well"
Compiler logs show somwhat opposite to this statement:
Before Benjamin's commit libtool is called without -prefer-pic:
/bin/sh ../libtool --tag CXX --mode=compile .... -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-Wabi -ffunction-sections -fdata-sections -frandom-seed=tree.lo -g -O2
-D_GNU_SOURCE -c -o tree.lo ../../../../libstdc++-v3/src/tree.cc
and then
libtool: compile: /export/users/izamyati/....././gcc/xgcc ....
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -Wabi -ffunction-sections -fdata-sections
-frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE -c
../../../../libstdc++-v3/src/tree.cc -o tree.o >/dev/null 2>&1.
But in the same time there is the following
libtool: compile: /export/users/izamyati/....././gcc/xgcc ....
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -Wabi -ffunction-sections -fdata-sections
-frandom-seed=tree.lo -g -O2 -D_GNU_SOURCE -c
../../../../libstdc++-v3/src/tree.cc -fPIC -DPIC -o .libs/tree.o which is
absent after Benjamin's commit.
Does all this mean that actually tree.cc compiled with fPIC?