Discussion:
gcc 4.9 Very slow
Ali Abdul Ghani
2014-07-22 19:52:25 UTC
Permalink
Hi
When I compare gcc 4.8 in gcc 4.9
gcc 4.9 Very slow



cpu:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s)
per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor
ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 10
CPU MHz: 2403.000
BogoMIPS: 5984.37
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 2048K
NUMA node0 CPU(s): 0,1

gcc -v
Using built-in specs.
COLLECT_GCC=g++-4.9
COLLECT_LTO_WRAPPER=­/usr/lib/gcc/­x86_64-linux-gnu/4.9/­lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/­configure -v --with-pkgversion='Ubuntu
4.9.1-1ubuntu2~14.04­.3'
--with-bugurl=file:/­//usr/share/doc/­gcc-4.9/­README.Bugs
--enable-languages=c,c++,jav­a,go,d,fortran,objc,­obj-c++
--prefix=/­usr --program-suffix=-4.9 --enable-shared
--enable-linker-buil­d-id --libexecdir=/usr/­lib
--without-included-g­ettext --enable-threads=pos­ix
--with-gxx-include-d­ir=/usr/include/c++/­4.9 --libdir=/usr/lib
--enable-nls --with-sysroot=/­ --enable-clocale=gnu
--enable-libstdcxx-d­ebug --enable-libstdcxx-t­ime=yes
--enable-gnu-unique-­object --disable-libmudflap­
--disable-vtable-ver­ify --enable-plugin --with-system-zlib
--disable-browser-pl­ugin --enable-java-awt=gt­k
--enable-gtk-cairo
--with-java-home=/­usr/lib/jvm/­java-1.5.0-gcj-4.9-am­d64/­jre
--enable-java-home
--with-jvm-root-dir=/usr/­lib/jvm/­java-1.5.0-gcj-4.9-am­d64
--with-jvm-jar-dir=/­usr/lib/jvm-exports/­java-1.5.0-gcj-4.9-am­d64
--with-arch-director­y=amd64
--with-ecj-jar=/usr/­share/java/­eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list­=m32,m64,mx32 --enable-multilib
--with-tune=generic --enable-checking=re­lease
--build=x86_64-linux­-gnu --host=x86_64-linux-­gnu --target=x86_64-linu­x-gnu
Thread model: posix
gcc version 4.9.1 (Ubuntu 4.9.1-1ubuntu2~14.04­.3)
Andrew Haley
2014-07-23 08:09:57 UTC
Permalink
Post by Ali Abdul Ghani
Hi
When I compare gcc 4.8 in gcc 4.9
gcc 4.9 Very slow
Hi,

We need much more information than that.

Andrew.
Ali Abdul Ghani
2014-07-23 10:10:55 UTC
Permalink
Post by Andrew Haley
We need much more information than that.
ok
Like what???
Post by Andrew Haley
Post by Ali Abdul Ghani
Hi
When I compare gcc 4.8 in gcc 4.9
gcc 4.9 Very slow
Hi,
We need much more information than that.
Andrew.
--
Think not of them, thou hast thy music too
Andrew Haley
2014-07-23 18:11:16 UTC
Permalink
Post by Ali Abdul Ghani
Post by Andrew Haley
We need much more information than that.
ok
Like what???
Be precise and informative about your problem. Tell us how to
reproduce it. Provide simple and clear evidence of this slowness.

Andrew.
Ali Abdul Ghani
2014-07-23 19:10:21 UTC
Permalink
When I try compile A great program.
gcc 4.9 Becomes very slow
And sometimes all Operating System Freezes

gcc 4.8 Does not have any problem
Post by Andrew Haley
Post by Ali Abdul Ghani
Post by Andrew Haley
We need much more information than that.
ok
Like what???
Be precise and informative about your problem. Tell us how to
reproduce it. Provide simple and clear evidence of this slowness.
Andrew.
--
Think not of them, thou hast thy music too
Jonathan Wakely
2014-07-24 08:15:27 UTC
Permalink
Post by Ali Abdul Ghani
When I try compile A great program.
This does not tell us how to reproduce it.

All my code is great, but compiling it doesn't make my OS freeze.

See https://gcc.gnu.org/bugs/ for the kind of information we need to
be able to answer your question. "When I compile it's slow" is not
useful.
Ali Abdul Ghani
2014-07-24 09:31:32 UTC
Permalink
I Did not understand you
What information you need???
Post by Jonathan Wakely
Post by Ali Abdul Ghani
When I try compile A great program.
This does not tell us how to reproduce it.
All my code is great, but compiling it doesn't make my OS freeze.
See https://gcc.gnu.org/bugs/ for the kind of information we need to
be able to answer your question. "When I compile it's slow" is not
useful.
--
Think not of them, thou hast thy music too
Loading...