[wwwdocs] Update links to C++ ABI (was: at exit alternative for AIX)

2012-08-26 Thread Gerald Pfeifer
On Tue, 7 Aug 2012, Ian Lance Taylor wrote:
> The official link at http://codesourcery.com/cxx-abi/ (note trailing
> slash) still works.

It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
and now redirects to http://mentorembedded.github.com/cxx-abi/ .

I went ahead and updated all our references per the patch below.

Jonathan, libstdc++/doc/xml/manual/abi.xml also has three references
to the old address.

Gerald

Index: faq.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/faq.html,v
retrieving revision 1.215
diff -u -3 -p -r1.215 faq.html
--- faq.html20 Feb 2012 22:41:41 -  1.215
+++ faq.html26 Aug 2012 10:37:21 -
@@ -433,7 +433,7 @@ linkage the same name is a violation of 
 
 For more details about the way that GCC implements these and other
 C++ features, please read the http://sourcery.mentor.com/public/cxx-abi/";>C++ ABI specification.
+href="http://mentorembedded.github.com/cxx-abi/";>C++ ABI specification.
 Note the std::type_info objects which must be
 resolved all begin with "_ZTS". Refer to ld's
 documentation for a description of the "-E" &
Index: readings.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/readings.html,v
retrieving revision 1.219
diff -u -3 -p -r1.219 readings.html
--- readings.html   23 Feb 2012 13:24:36 -  1.219
+++ readings.html   26 Aug 2012 10:37:21 -
@@ -37,7 +37,7 @@
   by Joachim Nadler and Tim Josling
   t...@melbpc.org.au>.
 
-  http://sourcery.mentor.com/public/cxx-abi/";>
+  http://mentorembedded.github.com/cxx-abi/";>
   The V3 multi-vendor standard C++ ABI is used in GCC releases 3.0 and
   above.
 
Index: gcc-3.2/c++-abi.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.2/c++-abi.html,v
retrieving revision 1.6
diff -u -3 -p -r1.6 c++-abi.html
--- gcc-3.2/c++-abi.html20 Feb 2012 22:51:27 -  1.6
+++ gcc-3.2/c++-abi.html26 Aug 2012 10:37:21 -
@@ -10,7 +10,7 @@
 The main point of the GCC 3.2 release is to have a relatively
 stable and common C++ ABI for GNU/Linux and BSD usage, following
 the documentation at
-http://sourcery.mentor.com/public/cxx-abi/";>http://sourcery.mentor.com/public/cxx-abi/.
+http://mentorembedded.github.com/cxx-abi/";>http://sourcery.mentor.com/public/cxx-abi/.

 Unfortunately this means that GCC 3.2 is incompatible with GCC 3.0
 and GCC 3.1 releases.
Index: gcc-4.0/changes.html
===
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.0/changes.html,v
retrieving revision 1.60
diff -u -3 -p -r1.60 changes.html
--- gcc-4.0/changes.html20 Feb 2012 22:51:27 -  1.60
+++ gcc-4.0/changes.html26 Aug 2012 10:37:22 -
@@ -182,7 +182,7 @@
 -fvisibility option.
 
 The compiler now uses the library interface specified by the http://sourcery.mentor.com/public/cxx-abi/";>C++ ABI for
+href="http://mentorembedded.github.com/cxx-abi/";>C++ ABI for
 thread-safe initialization of function-scope static variables.
 Most users should leave this alone, but embedded programmers may
 want to disable this by specifying


Re: PATCH: Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

2012-08-26 Thread Paolo Bonzini
Il 25/08/2012 17:58, H.J. Lu ha scritto:
> The change was introduced by
> 
> http://gcc.gnu.org/ml/gcc-cvs/2005-03/msg01452.html
> 
> Paolo, do you remember the reason for this?

Actually, this patch came before bfd started using libtool and hence .libs.

The patch is okay if binutils always uses libtool to link programs that
require libbfd and libopcodes.  Can you check?

Paolo


Re: PATCH: Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

2012-08-26 Thread H.J. Lu
On Sun, Aug 26, 2012 at 6:22 AM, Paolo Bonzini  wrote:
> Il 25/08/2012 17:58, H.J. Lu ha scritto:
>> The change was introduced by
>>
>> http://gcc.gnu.org/ml/gcc-cvs/2005-03/msg01452.html
>>
>> Paolo, do you remember the reason for this?
>
> Actually, this patch came before bfd started using libtool and hence .libs.
>
> The patch is okay if binutils always uses libtool to link programs that
> require libbfd and libopcodes.  Can you check?
>

Yes, binutils always uses libtool. GDB doesn't use libtool. But it is linked
against libbfd.a and libopcodes.a when configured with --enable-shared.
I am checking it in.

-- 
H.J.


Re: [wwwdocs] Update links to C++ ABI (was: at exit alternative for AIX)

2012-08-26 Thread Ian Lance Taylor
On Sun, Aug 26, 2012 at 3:43 AM, Gerald Pfeifer  wrote:
> On Tue, 7 Aug 2012, Ian Lance Taylor wrote:
>> The official link at http://codesourcery.com/cxx-abi/ (note trailing
>> slash) still works.
>
> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
> and now redirects to http://mentorembedded.github.com/cxx-abi/ .
>
> I went ahead and updated all our references per the patch below.

I don't think that is wise.  The document itself promises that the
permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
promised to be permanent.  I think we should link to the permanent URL
as long as it continues to work.

Ian


Re: [wwwdocs] Update links to C++ ABI

2012-08-26 Thread Gerald Pfeifer
On Sun, 26 Aug 2012, Ian Lance Taylor wrote:
>> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
>> and now redirects to http://mentorembedded.github.com/cxx-abi/ .
>>
>> I went ahead and updated all our references per the patch below.
> I don't think that is wise.  The document itself promises that the
> permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
> promised to be permanent.  I think we should link to the permanent URL
> as long as it continues to work.

Well, the document itself also carries "Revised 20 March 2001" in
line 2. ;-)

Mark, any recommendation from your side?  Is it fine to refer to 
the new mentorembedded.github.com address?

(Linking to a page that redirects makes verifying the accuracy of
links tricky.)

Gerald


RE: [wwwdocs] Update links to C++ ABI

2012-08-26 Thread Mitchell, Mark
Gerald --

I think that the GitHub address is more canonical at this point, so I would 
recommend that.  That said, I would expect the codesourcery.com address to work 
"forever"; Mentor IT has set up permanent redirects for addresses from that 
domain.

Thank you,

--
Mark Mitchell
Mentor Graphics
mark_mitch...@mentor.com
+1 (510) 354-7337


> -Original Message-
> From: Gerald Pfeifer [mailto:ger...@pfeifer.com]
> Sent: Sunday, August 26, 2012 10:02 AM
> To: Ian Lance Taylor; Mitchell, Mark
> Cc: gcc-patc...@gcc.gnu.org; Jonathan Wakely; gcc@gcc.gnu.org
> Subject: Re: [wwwdocs] Update links to C++ ABI
> 
> On Sun, 26 Aug 2012, Ian Lance Taylor wrote:
> >> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of
> >> lately, and now redirects to http://mentorembedded.github.com/cxx-
> abi/ .
> >>
> >> I went ahead and updated all our references per the patch below.
> > I don't think that is wise.  The document itself promises that the
> > permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
> > promised to be permanent.  I think we should link to the permanent
> URL
> > as long as it continues to work.
> 
> Well, the document itself also carries "Revised 20 March 2001" in line
> 2. ;-)
> 
> Mark, any recommendation from your side?  Is it fine to refer to the
> new mentorembedded.github.com address?
> 
> (Linking to a page that redirects makes verifying the accuracy of links
> tricky.)
> 
> Gerald


Re: [wwwdocs] Update links to C++ ABI (was: at exit alternative for AIX)

2012-08-26 Thread Gabriel Dos Reis
On Sun, Aug 26, 2012 at 11:55 AM, Ian Lance Taylor  wrote:
> On Sun, Aug 26, 2012 at 3:43 AM, Gerald Pfeifer  wrote:
>> On Tue, 7 Aug 2012, Ian Lance Taylor wrote:
>>> The official link at http://codesourcery.com/cxx-abi/ (note trailing
>>> slash) still works.
>>
>> It used to be http://sourcery.mentor.com/public/cxx-abi/ as of lately,
>> and now redirects to http://mentorembedded.github.com/cxx-abi/ .
>>
>> I went ahead and updated all our references per the patch below.
>
> I don't think that is wise.  The document itself promises that the
> permanent URL is http://codesourcery.com/cxx-abi/ .  No other URL is
> promised to be permanent.  I think we should link to the permanent URL
> as long as it continues to work.
>
> Ian

That makes sense.


Re: HTTP header doesn't specify utf-8

2012-08-26 Thread Gerald Pfeifer
On Thu, 26 Jul 2012, Jonathan Wakely wrote:
>> This page: http://gcc.gnu.org/onlinedocs/libstdc++/faq.html (and other
>> pages) don't include a utf-8 charset in the content-type http header,
> See http://gcc.gnu.org/ml/gcc/2012-04/msg00597.html and
> http://gcc.gnu.org/ml/gcc/2012-06/msg00125.html

I am applying the patch below to our global .htaccess file which,
according to my testing, does the trick.

On Thu, 26 Jul 2012, Benjamin De Kosnik wrote:
> ouch. I had forgotten about this, which is now PR 54102. 

Still, can you please continue to look into this, Benjamin? 
Having proper (XML) headers as part of the individual documents
still will be good.

Thanks,
Gerald

Index: .htaccess
===
RCS file: /cvs/gcc/wwwdocs/htdocs/.htaccess,v
retrieving revision 1.28
diff -u -3 -p -r1.28 .htaccess
--- .htaccess   10 Oct 2009 20:36:09 -  1.28
+++ .htaccess   26 Aug 2012 19:40:59 -
@@ -1,3 +1,5 @@
+AddDefaultCharset utf-8
+
 Redirect permanent /egcs-1.0/egcs-1.0.html http://gcc.gnu.org/egcs-1.0/
 Redirect permanent /egcs-1.0/egcs-1.0.1.html   http://gcc.gnu.org/egcs-1.0/
 Redirect permanent /egcs-1.0/egcs-1.0.2.html   http://gcc.gnu.org/egcs-1.0/


gcc-4.8-20120826 is now available

2012-08-26 Thread gccadmin
Snapshot gcc-4.8-20120826 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/4.8-20120826/
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/trunk revision 190703

You'll find:

 gcc-4.8-20120826.tar.bz2 Complete GCC

  MD5=e64a86b3cc0bb3781be28eb171ef9168
  SHA1=dcda7552a75caaa91181a9024fc553d05d29b5f1

Diffs from 4.8-20120819 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.8
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.