Why do we need to set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes?

2012-08-25 Thread H.J. Lu
Hi, Setting HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes causes: as: error while loading shared libraries: /builddir/build/BUILD/binutils/./opcodes/.libs/libopcodes-2.23.51.0.2-0.1.fc17.so: file too short make[4]: *** [gold-threads.o] Error 2 when compiling gold using binutils linked with the same ve

PATCH: Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

2012-08-25 Thread H.J. Lu
On Sat, Aug 25, 2012 at 8:31 AM, H.J. Lu wrote: > Hi, > > Setting HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes causes: > > as: error while loading shared libraries: > /builddir/build/BUILD/binutils/./opcodes/.libs/libopcodes-2.23.51.0.2-0.1.fc17.so: > file too short > make[4]: *** [gold-threads.o] Erro

GDB issues on Trunk

2012-08-25 Thread Iyer, Balaji V
Hello Everyone, I am trying to debug "cc1" through gdb but is not working as it was before (my current revision is 190623) . For example, when I try to print out any local variable when I am inside the function, it says the variable is not in in the context. Here is an example below: e.

Re: GDB issues on Trunk

2012-08-25 Thread Andrew Pinski
On Sat, Aug 25, 2012 at 10:28 AM, Iyer, Balaji V wrote: > Hello Everyone, > I am trying to debug "cc1" through gdb but is not working as it was > before (my current revision is 190623) . For example, when I try to print out > any local variable when I am inside the function, it says the

RE: GDB issues on Trunk

2012-08-25 Thread Iyer, Balaji V
>-Original Message- >From: Andrew Pinski [mailto:pins...@gmail.com] >Sent: Saturday, August 25, 2012 1:31 PM >To: Iyer, Balaji V >Cc: gcc@gcc.gnu.org >Subject: Re: GDB issues on Trunk > >On Sat, Aug 25, 2012 at 10:28 AM, Iyer, Balaji V >wrote: >> Hello Everyone, >> I am trying t

Using C++ - Problem with

2012-08-25 Thread Oleg Endo
Hello, I'm currently playing around with an RTL pass and started using C++. When including I get the following: /usr/include/c++/4.6/cstdlib:76:8: error: attempt to use poisoned "calloc" /usr/include/c++/4.6/cstdlib:83:8: error: attempt to use poisoned "malloc" /usr/include/c++/4.6/cstdlib:89:8:

Re: Using C++ - Problem with

2012-08-25 Thread Ian Lance Taylor
On Sat, Aug 25, 2012 at 1:27 PM, Oleg Endo wrote: > > I'm currently playing around with an RTL pass and started using C++. > When including I get the following: > > /usr/include/c++/4.6/cstdlib:76:8: error: attempt to use poisoned > "calloc" > /usr/include/c++/4.6/cstdlib:83:8: error: attempt to

Re: Let INSTALL/README mention the instructions on line

2012-08-25 Thread Gerald Pfeifer
On Wed, 15 Feb 2012, Křištof Želechovski wrote: > Please consider the following patch: Thank you, Křištof! I made some small tweaks, created a ChangeLog entry and applied the variation of your patch that is included below. Gerald 2012-08-25 Křištof Želechovski * INSTALL/README: Also

Re: PATCH: Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

2012-08-25 Thread Mike Frysinger
On Saturday 25 August 2012 11:58:08 H.J. Lu wrote: > On Sat, Aug 25, 2012 at 8:31 AM, H.J. Lu wrote: > > Hi, > > > > Setting HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes causes: > > > > as: error while loading shared libraries: > > /builddir/build/BUILD/binutils/./opcodes/.libs/libopcodes-2.23.51.0.2

Re: PATCH: Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

2012-08-25 Thread H.J. Lu
On Sat, Aug 25, 2012 at 3:27 PM, Mike Frysinger wrote: > On Saturday 25 August 2012 11:58:08 H.J. Lu wrote: >> On Sat, Aug 25, 2012 at 8:31 AM, H.J. Lu wrote: >> > Hi, >> > >> > Setting HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes causes: >> > >> > as: error while loading shared libraries: >> > /build

gcc-4.7-20120825 is now available

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

Re: internal compiler error using lambda and this

2012-08-25 Thread Gerald Pfeifer
On Tue, 29 May 2012, Andreas Karrenbauer wrote: > To whom it may concern: > > Please find a small code example which causes an internal compiler error with > g++-4.7 (opensuse): Thanks for the report, Andreas. I tried this with a current snapshot of what will become GCC 4.8.0 in several months,

GCC with Solaris -- using std::locale crashes

2012-08-25 Thread JonathonS
Hi, I am currently using GCC 4.4.4 on my Solaris machine and I am having a difficult time getting it to compile with "locale-support". For example, if I build the simple file: #include int main() { std::cout.imbue(std::locale("en_US.UTF-8")); return 0; } and run it, it will throw a runtim

Re: GCC with Solaris -- using std::locale crashes

2012-08-25 Thread Jonathan Wakely
On 26 August 2012 00:29, JonathonS wrote: > Hi, > > I am currently using GCC 4.4.4 on my Solaris machine and I am having a > difficult time getting it to compile with "locale-support". Your question is not appropriate for this mailing list, which is about development of GCC. For help using GCC ple

Re: typos in http://gcc.gnu.org/wiki/CppConventions

2012-08-25 Thread Gerald Pfeifer
On Fri, 15 Jun 2012, Jonathan Wakely wrote: >> They clause client code taking the address >> >>  => cause >> >> >> structs adn classes >>  => and > So fix them, it's a wiki. I saw these typos were still there, so I just fixed them. Thanks for the report, Jay. Gerald

Re: PATCH: Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

2012-08-25 Thread Mike Frysinger
On Saturday 25 August 2012 18:31:32 H.J. Lu wrote: > On Sat, Aug 25, 2012 at 3:27 PM, Mike Frysinger wrote: > > On Saturday 25 August 2012 11:58:08 H.J. Lu wrote: > >> On Sat, Aug 25, 2012 at 8:31 AM, H.J. Lu wrote: > >> > Hi, > >> > > >> > Setting HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes causes: