Re: [Android] The reason why -Bsymbolic is turned on by default

2013-04-04 Thread Ard Biesheuvel
2013/4/3 Andrew Haley > > On 04/03/2013 11:02 AM, Alexander Ivchenko wrote: > > > Thank you for your answers, seems that the question about the reason > > with default -Bsymbolic is still open.. we are not clairvoyant, but it > > is implemented in GCC so we should understand the reason :) > > Bio

Re: If you had a month to improve gcc build parallelization, where would you begin?

2013-04-04 Thread Richard Biener
On Thu, Apr 4, 2013 at 6:35 AM, Jeff Law wrote: > On 04/03/2013 10:00 PM, Geert Bosch wrote: >> >> >> This will be true regardless of communication method. There is so little >> opportunity for parallelism that anything more than 4-8 local cores is >> pretty much wasted. On a 4-core machine, more

Re: If you had a month to improve gcc build parallelization, where would you begin?

2013-04-04 Thread Sebastian Huber
On 04/03/2013 05:39 PM, Jeff Law wrote: On 04/03/2013 09:27 AM, Simon Baldwin wrote: Suppose you had a month in which to reorganise gcc so that it builds its 3-stage bootstrap and runtime libraries in some massively parallel fashion, without hardware or resource constraints(*). How might you ap

"stable" version bootstrapping

2013-04-04 Thread Thorsten Glaser
Hi, the GCC wiki says: “We will periodically pick a stable version of GCC, and require that that version of GCC be able to build all versions of GCC up to and including the next stable version. E.g., we may decide that all newer versions of GCC should be buildable with GCC 4.3.5.” Which version

Re: Intentional or accidental backward-incompatibility w.r.t. process attributes?

2013-04-04 Thread Thorsten Glaser
NightStrike gmail.com> writes: > > ... used to work, with the attribute from the declaration being applied also > > to the definition. I stumbled upon this as well recently. > Someone else just asked not too long ago: > > http://gcc.gnu.org/ml/gcc-help/2013-03/msg00012.html Yes, but there’s n

Re: "stable" version bootstrapping

2013-04-04 Thread Tobias Burnus
Thorsten Glaser wrote: “We will periodically pick a stable version of GCC, and require that that version of GCC be able to build all versions of GCC up to and including the next stable version. [...] Which version has currently been picked, and where can such information reliably (thinking of a p

Re: "stable" version bootstrapping

2013-04-04 Thread Thorsten Glaser
Tobias Burnus net-b.de> writes: > GCC since 4.8 requires a C++98 compiler, i.e. GCC since 3.4 should be > fine. However, who knows when some C++11 features will start to get Hrm, indeed. > used. Thus, why not using the latest compiler which still builds with C, > i.e. GCC 4.6 or GCC 4.7. (Th

Re: "stable" version bootstrapping

2013-04-04 Thread Richard Biener
On Thu, Apr 4, 2013 at 11:08 AM, Thorsten Glaser wrote: > Hi, > > the GCC wiki says: > > “We will periodically pick a stable version of GCC, and require that that > version of GCC be able to build all versions of GCC up to and including > the next stable version. E.g., we may decide that all newer

Re: [Android] The reason why -Bsymbolic is turned on by default

2013-04-04 Thread Alexander Ivchenko
Thank you very much for clarification. >> > Having that in mind, we have: >> > 1) All shared libraries for Android are built with -Bsymbolic >> > 2) Dynamic loader throws an error if we are doing COPY relocation >> > against DT_SYMBOLIC libs. >> > >> > So any COPY relocation is doomed to failure..

GCC 4.7.3 Release Candidate available from gcc.gnu.org

2013-04-04 Thread Richard Biener
GCC 4.7.3 Release Candidate available from gcc.gnu.org The first release candidate for GCC 4.7.3 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.7.3-RC-20130404 and shortly its mirrors. It has been generated from SVN revision 197469. I have so far bootstrapped and tested the release

Re: If you had a month to improve gcc build parallelization, where would you begin?

2013-04-04 Thread Diego Novillo
On 2013-04-04 04:49 , Richard Biener wrote: But yes, testing is the most time-consuming part, and the testsuite harness overhead is big. A combined bootstrap&test target could indeed interleave target library build and testing. General improvements to parallel testing support (hack upstream dej

Question regarding stdcall function pointers

2013-04-04 Thread Sebastian Hartte
Hello, I have a question regarding the declaration of function pointers with stdcall calling convention. This compiles for me (using g++ -c test.cpp -o test.o): typedef struct _a { int (__stdcall *a)(); } a; While this does not: typedef struct _t { } t; typedef struct _a { t (__stdc

Re: GCC 4.7.3 Status Report (2013-04-03)

2013-04-04 Thread Jack Howarth
On Wed, Apr 03, 2013 at 03:23:36PM +0200, Richard Biener wrote: > > Status > == > > The GCC 4.7 branch is ready for a release candidate of GCC 4.7.3 > which I will do tomorrow if no serious issue shows up until then. > The branch is frozen now, all changes require release manager approval > u

Re: GCC 4.7.3 Status Report (2013-04-03)

2013-04-04 Thread Richard Biener
On Thu, 4 Apr 2013, Jack Howarth wrote: > On Wed, Apr 03, 2013 at 03:23:36PM +0200, Richard Biener wrote: > > > > Status > > == > > > > The GCC 4.7 branch is ready for a release candidate of GCC 4.7.3 > > which I will do tomorrow if no serious issue shows up until then. > > The branch is fro

Re: Question regarding stdcall function pointers

2013-04-04 Thread Ian Lance Taylor
On Thu, Apr 4, 2013 at 7:26 AM, Sebastian Hartte wrote: > > I have a question regarding the declaration of function pointers with > stdcall calling convention. This question is not appropriate for the mailing list gcc@gcc.gnu.org, which is for the development of GCC. It would be appropriate for

Re: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase

2013-04-04 Thread Senthil Kumar Selvaraj
On Wed, Apr 03, 2013 at 11:07:04PM -0400, Jason Merrill wrote: > On 04/02/2013 03:25 PM, Senthil Kumar Selvaraj wrote: > >+gdwarf > >+Common UInteger Var(dwarf_default_version, 4) Negative(gdwarf-) > >+Generate debug information in the default DWARF version format > > The Negative options need to

Re: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase

2013-04-04 Thread Jason Merrill
On 04/04/2013 11:48 AM, Senthil Kumar Selvaraj wrote: +Common Var(dwarf_version, 4) Negative(gdwarf-) I don't think you need to mention the variable on this line; it's already there and statically initialized for gdwarf-. I wasn't able to get this done in a clean way. To make the gdwarf opt

Re: google summer of code 2013

2013-04-04 Thread Jonathan Wakely
On 31 March 2013 18:35, Edik Bondarenko wrote: > I am a student of Dnipropetrovsk National University. I am studying on > the fourth course. > I want to do 'Precision in Wording' for gcc. > Clang can shows exact description of the error with the instructions > how to fix it and I often need to use

Re: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase

2013-04-04 Thread Senthil Kumar Selvaraj
On Thu, Apr 04, 2013 at 01:41:30PM -0400, Jason Merrill wrote: > On 04/04/2013 11:48 AM, Senthil Kumar Selvaraj wrote: > >+Common Var(dwarf_version, 4) Negative(gdwarf-) > > I don't think you need to mention the variable on this line; it's > already there and statically initialized for gdwarf-. >

ANN: gcc-python-plugin 0.12

2013-04-04 Thread David Malcolm
gcc-python-plugin is a plugin for GCC 4.6 onwards which embeds the CPython interpreter within GCC, allowing you to write new compiler warnings in Python, generate code visualizations, etc. It ships with "gcc-with-cpychecker", which implements static analysis passes for GCC aimed at finding bugs in

Re: "stable" version bootstrapping

2013-04-04 Thread Thorsten Glaser
Richard Biener dixit: >in the install instructions (gcc/doc/install.texi) in the >pre-requesites section. Ah yes, I saw that, but… >Currently it reads: ⓐ that’s “curently”, plus it doesn’t specificially say that 3.4 is the “stable” version currently picked, which is one of the reasons I tho

gcc-4.8-20130404 is now available

2013-04-04 Thread gccadmin
Snapshot gcc-4.8-20130404 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.8-20130404/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches