Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why GCC stable at 4.5.3-r2?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4136

PostPosted: Sat May 12, 2012 3:46 pm    Post subject: Reply with quote

trippels wrote:
With this almost all gcc-4.7 compile failures will disappear.

This does not even solve all compile issues with gcc-4.7 (e.g. libreoffice probably needs more severe fixes). Not to speak about the runtime problems (e.g. firefox has several problems if compiled with gcc-4.7 after these fixes). The difficulties with hardened-sources are even much harder to solve.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Sat May 12, 2012 6:38 pm    Post subject: Reply with quote

OK, i really don't get this argument .
Gcc is a keystone for Gentoo, it will be ready when it's ready.What's the hurry ?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
trippels
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2010
Posts: 79
Location: Berlin

PostPosted: Sun May 13, 2012 10:21 am    Post subject: Reply with quote

mv wrote:
trippels wrote:
With this almost all gcc-4.7 compile failures will disappear.

This does not even solve all compile issues with gcc-4.7 (e.g. libreoffice probably needs more severe fixes). Not to speak about the runtime problems (e.g. firefox has several problems if compiled with gcc-4.7 after these fixes). The difficulties with hardened-sources are even much harder to solve.


Hmm, I've build libreoffice-3.5.3 with gcc-4.7 without any problems.
I also build Firefox regularly with profiled feedback and link-time-optimizations.
For this you just need some trivial patches that can be found here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2467
Location: Austria

PostPosted: Sun May 13, 2012 11:00 am    Post subject: Reply with quote

Point still stands that the amount of bugs you can see now in the gcc-4.7 tracker is far from complete. Not stabilizing gcc-4.6 as supposed by some would also not bring 4.7 stable any faster.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4136

PostPosted: Sun May 13, 2012 11:29 am    Post subject: Reply with quote

trippels wrote:
Hmm, I've build libreoffice-3.5.3 with gcc-4.7 without any problems.

libreoffice-3.5.2.2 did not build; maybe they fixed it in 3.5.3.2 (which IIRC was not yet in the tree when I had tried).
Quote:
I also build Firefox regularly with profiled feedback and link-time-optimizations.

firefox-12 does not even work without, see comment #8 in this bug.
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4136

PostPosted: Sun May 13, 2012 11:32 am    Post subject: Reply with quote

genstorm wrote:
Not stabilizing gcc-4.6 as supposed by some would also not bring 4.7 stable any faster.

It would help (in the sense of increasing the reports) to have gcc-4.7 in the tree: Only very few volunteer to install supposedly unstable gcc from an overlay. Actually, I do not understand why this time it takes months. This was not so for earlier gcc versions. (Well, I read in a blog that the current gentoo maintainer has almost no time, but is there no-one else in the team?)
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2467
Location: Austria

PostPosted: Sun May 13, 2012 11:45 am    Post subject: Reply with quote

It seems so that the bulk of the work is done by mostly one person.

Getting a new major version in the tree and stabilizing an existing one are two entirely different tasks. Users who are willing to test and help with the bugs (read: not just demanding progress) can help with both.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
trippels
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2010
Posts: 79
Location: Berlin

PostPosted: Sun May 13, 2012 12:16 pm    Post subject: Reply with quote

mv wrote:
trippels wrote:
Hmm, I've build libreoffice-3.5.3 with gcc-4.7 without any problems.

libreoffice-3.5.2.2 did not build; maybe they fixed it in 3.5.3.2 (which IIRC was not yet in the tree when I had tried).

Yes, 3.5.3.2 is fine
mv wrote:

Quote:
I also build Firefox regularly with profiled feedback and link-time-optimizations.

firefox-12 does not even work without, see comment #8 in this bug.


I use Firefox (from mozilla-central build with gcc-4.7) as my main browser. I didn't notice any run time problems yet.
That said, gcc-4.7 optimizes much more aggressively than former versions and this could reveal latent bugs in applications that were hidden thus far.
Back to top
View user's profile Send private message
MarekSieradzki
n00b
n00b


Joined: 05 Oct 2010
Posts: 18

PostPosted: Sun May 13, 2012 6:07 pm    Post subject: Reply with quote

Kollin wrote:
OK, i really don't get this argument .
Gcc is a keystone for Gentoo, it will be ready when it's ready.What's the hurry ?

I don't get your point at all. Masked GCC versions that are in portage help because some brave/suicidal people test if software compiled with it works at all. The faster these problems get recognized the faster they'll be resolved by UPSTREAM (no, not Gentoo). If I wanted overdone safety and stabilization I would have chosen Debian.

To be honest I don't get why Gentoo even mentions archs like: alpha, ia64, ppc. They're dead anyway.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Thu May 31, 2012 3:40 pm    Post subject: Reply with quote

From today's update :

Code:
 Emerging (3 of 4) sys-devel/gcc-4.6.3
:wink:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
jdhore
Developer
Developer


Joined: 13 Apr 2007
Posts: 106

PostPosted: Thu May 31, 2012 5:18 pm    Post subject: Reply with quote

Kollin wrote:
From today's update :

Code:
 Emerging (3 of 4) sys-devel/gcc-4.6.3
:wink:


Yeah, the GRUB bug that was mentioned earlier in the thread has been fixed and since it has and it was BY FAR the largest blocker, GCC 4.6 was unmasked.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Thu May 31, 2012 7:51 pm    Post subject: Reply with quote

jdhore wrote:
Kollin wrote:
From today's update :

Code:
 Emerging (3 of 4) sys-devel/gcc-4.6.3
:wink:


Yeah, the GRUB bug that was mentioned earlier in the thread has been fixed and since it has and it was BY FAR the largest blocker, GCC 4.6 was unmasked.


Perfect, thank you! :D
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Jun 01, 2012 4:42 pm    Post subject: Reply with quote

Seen all of Debian Unstable's gcc patches? Including "Update to SVN 20120522 (r187757) from the gcc-4_6-branch".

Scary 8O
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Jun 01, 2012 7:56 pm    Post subject: Reply with quote

PaulBredbury wrote:
Seen all of Debian Unstable's gcc patches? Including "Update to SVN 20120522 (r187757) from the gcc-4_6-branch".

Scary 8O

Nothing concerning asoundrc ! Who cares ? :wink:

BTW, I still would like to know what are the new features which trigger so much eagerness in getting > 4.5
Not that I feel that much concerned as long as, nvidia-cuda-toolkit still depends on the 4.4 branch.
_________________


Last edited by aCOSwt on Sat Jun 02, 2012 8:10 am; edited 2 times in total
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Fri Jun 01, 2012 10:55 pm    Post subject: Reply with quote

Strange, when i switch to gcc-4.6 with :

Code:
 gcc-config -f 2                                                                     
 * Switching native-compiler to x86_64-pc-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache...                                                                                                                          [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   . /etc/profile

root@felis $ . /etc/profile                                                                     
root@felis $ env-update


everythin fails with :


Code:
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no

configure: error: C compiler cannot create executables


:?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2467
Location: Austria

PostPosted: Sat Jun 02, 2012 11:21 am    Post subject: Reply with quote

aCOSwt wrote:
BTW, I still would like to know what are the new features which trigger so much eagerness in getting > 4.5
Not that I feel that much concerned as long as, nvidia-cuda-toolkit still depends on the 4.4 branch.

It's the race for bigger version numbers! Didn't you get the memo? ;)

@Kollin: hmm, strange
Code:
# gcc-config -l
# cc -v

_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Sat Jun 02, 2012 10:37 pm    Post subject: Reply with quote

genstorm wrote:

@Kollin: hmm, strange
Code:
# gcc-config -l
# cc -v


gcc-config -l
Code:
gcc-config -l 
 [1] x86_64-pc-linux-gnu-4.5.3 *
 [2] x86_64-pc-linux-gnu-4.6.3

gcc-config -f 2
Code:
 * Switching native-compiler to x86_64-pc-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache...                                                                                                                          [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   . /etc/profile

 #  . /etc/profile
 $ env-update


cc -v

Code:
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.3, pie-0.5.1'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.3, pie-0.5.1)

_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Sat Jun 02, 2012 10:48 pm    Post subject: Reply with quote

Kollin wrote:
genstorm wrote:

@Kollin: hmm, strange
Code:
# gcc-config -l
# cc -v


gcc-config -l
Code:
gcc-config -l 
 [1] x86_64-pc-linux-gnu-4.5.3 *
 [2] x86_64-pc-linux-gnu-4.6.3

gcc-config -f 2
Code:
 * Switching native-compiler to x86_64-pc-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache...                                                                                                                          [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   . /etc/profile

 #  . /etc/profile
 $ env-update


cc -v

Code:
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.3, pie-0.5.1'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.3, pie-0.5.1)


EDIT: It happens on both of my gentoo systems.
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2175
Location: $TERM

PostPosted: Sun Jun 03, 2012 3:29 am    Post subject: Reply with quote

Kollin wrote:
Strange, when i switch to gcc-4.6 with :

Code:
 gcc-config -f 2                                                                     
 * Switching native-compiler to x86_64-pc-linux-gnu-4.6.3 ...
>>> Regenerating /etc/ld.so.cache...                                                                                                                          [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   . /etc/profile

root@felis $ . /etc/profile                                                                     
root@felis $ env-update


everythin fails with :


Code:
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no

configure: error: C compiler cannot create executables


:?


I did encounter and solve this issue in a fresh install, but I don't remember how....
_________________
Buy from companies supporting opensource -- IBM, Dell, HP, Hitachi, Google etc...
Disfavor companies supporting only Win -- Logitech, Epson, Adobe, Autodesk, Pioneer, Kingston, WD, Yahoo, MSI, XFX
My blog
Back to top
View user's profile Send private message
ryao
Developer
Developer


Joined: 27 Feb 2012
Posts: 123

PostPosted: Mon Jun 04, 2012 6:34 am    Post subject: Reply with quote

Kollin, run gcc-4.6.3 -v hello.c and post what it says.

hello.c:
#include <stdio.h>

int main()
{
printf("Hello World\n");
return 0;
}
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Mon Jun 04, 2012 4:18 pm    Post subject: Reply with quote

ryao wrote:
Kollin, run gcc-4.6.3 -v hello.c and post what it says.

hello.c:
#include <stdio.h>

int main()
{
printf("Hello World\n");
return 0;
}


Done:

Code:
gcc-4.6.3 -v hello.c         
Using built-in specs.
COLLECT_GCC=gcc-4.6.3
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.3, pie-0.5.1'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.3, pie-0.5.1)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/cc1 -quiet -v hello.c -quiet -dumpbase hello.c -mtune=generic -march=x86-64 -auxbase hello -version -o /tmp/cctev1SV.s
GNU C (Gentoo 4.6.3 p1.3, pie-0.5.1) version 4.6.3 (x86_64-pc-linux-gnu)
        compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p7, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include-fixed
 /usr/include
End of search list.
GNU C (Gentoo 4.6.3 p1.3, pie-0.5.1) version 4.6.3 (x86_64-pc-linux-gnu)
        compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p7, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 97ca54802b641e2d1593534bd5684672
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/as --64 -o /tmp/ccHKjzqs.o /tmp/cctev1SV.s
COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/collect2 --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../.. /tmp/ccHKjzqs.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crtn.o

_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Sun Mar 03, 2013 11:09 pm    Post subject: Reply with quote

sys-devel/gcc-4.7.2-r1 is in testing ;)
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2467
Location: Austria

PostPosted: Sun Mar 03, 2013 11:48 pm    Post subject: Reply with quote

It is, and works like a charm. Imo it's pretty safe to go for 4.7.2 already.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1105
Location: Sofia/Bulgaria

PostPosted: Tue Mar 05, 2013 6:29 pm    Post subject: Reply with quote

genstorm wrote:
It is, and works like a charm. Imo it's pretty safe to go for 4.7.2 already.



Yea, emerging world went without any problems :D
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
ryao
Developer
Developer


Joined: 27 Feb 2012
Posts: 123

PostPosted: Mon Mar 18, 2013 7:49 pm    Post subject: Reply with quote

Kollin wrote:
ryao wrote:
Kollin, run gcc-4.6.3 -v hello.c and post what it says.

hello.c:
#include <stdio.h>

int main()
{
printf("Hello World\n");
return 0;
}


Done:

Code:
gcc-4.6.3 -v hello.c         
Using built-in specs.
COLLECT_GCC=gcc-4.6.3
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.3, pie-0.5.1'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.3, pie-0.5.1)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/cc1 -quiet -v hello.c -quiet -dumpbase hello.c -mtune=generic -march=x86-64 -auxbase hello -version -o /tmp/cctev1SV.s
GNU C (Gentoo 4.6.3 p1.3, pie-0.5.1) version 4.6.3 (x86_64-pc-linux-gnu)
        compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p7, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include-fixed
 /usr/include
End of search list.
GNU C (Gentoo 4.6.3 p1.3, pie-0.5.1) version 4.6.3 (x86_64-pc-linux-gnu)
        compiled by GNU C version 4.6.3, GMP version 5.0.5, MPFR version 3.1.0-p7, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 97ca54802b641e2d1593534bd5684672
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/as --64 -o /tmp/ccHKjzqs.o /tmp/cctev1SV.s
COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-mtune=generic' '-march=x86-64'
 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/collect2 --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/crtbegin.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../.. /tmp/ccHKjzqs.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/crtn.o


Unfortunately, the Gentoo bug tracker is a better place to get support than the forums. I lost track of this post a while back and now I don't remember why I asked you to do that.

Anyway, the proper way to diagnose your issue would have been to look at the config.log that was generated. Unfortunately, my younger self from last year did not know this.

genstorm wrote:
It is, and works like a charm. Imo it's pretty safe to go for 4.7.2 already.


I use the testing version of GCC on my systems without any problems. With that said, there are a few dozen known issues with gcc 4.7:

https://bugs.gentoo.org/show_bug.cgi?id=gcc-4.7
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum