Successful bootstrap and test for GCC8.4.0 on Darwin platforms.

2020-03-21 Thread Iain Sandoe
General notes:

* GCC on Darwin depends on the installed “binutils”, typically provided by a 
version of “Xcode" or “Xcode command line tools”.  Unless noted otherwise, the 
bootstrap sequences here make use of the last available xcode command line 
tools and SDK for the platform version.

* Two bootstrap and test sequences;
1) Using a version of GCC+Ada as the bootstrap compiler, allowing a build and 
test for Ada.
2) Using the Apple GCC or clang that relates to the installed command line 
tools.

* In some cases, particularly with the earlier versions, the installed ‘atos’ 
is not really compatible with the versions of libsanitizer that are built with 
GCC8.  In that case, it’s usually better to install a version of 
llvm-symbolizer and set the ASAN_SYMBOLIZER_PATH=/path/to/llvm-symbolizer.

* I don’t have enough physical hardware to cover all of the versions directly, 
so some are (macOS hosted) VMs using VirtualBox.  In these cases, timeouts are 
not necessarily significant (noted in the relevant results).

cheers
Iain

---

Darwin19, (macOS 10.15)
xcode 11.4b3 command line tools and SDK was current

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556866.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556867.html

Darwin18 (10.14)

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556864.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556865.html

Darwin17 (10.13)

here I have used XC 9.4, to avoid the errors caused by the deprecation of m32 
flagged by later tools.
(32b multilib still works fine here)

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556862.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556863.html

Darwin16

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556860.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556861.html

Darwin15

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556858.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556859.html

Darwin14

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556856.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556857.html

Darwin13

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556853.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556854.html

Darwin12

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556851.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556852.html

Darwin11

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556848.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556849.html

Darwin10 (X86_64)

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556846.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556847.html

Darwin10 (i686)

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556843.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556844.html

Darwin9 (i686)

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556839.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556841.html

Darwin9 (powerpc64)

powercp64-darwin9 will not bootstrap with the system ld64 (the binary size now 
exceeds the [buggy] branch island limit in that tool).  It is possible to make 
the bootstrap with an updated ld64 with that limit fixed, and using -Os for the 
stage1 compiler options.  There are several public branches with fixed ld64 
versions available - I used a version of https://github.com/iains/darwin-xtools

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556845.html

Darwin9 (powerpc)

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556840.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556842.html

Darwin8 (i686, powerpc)

Darwin8 cannot be built with the last release of XCode for the system (2.5)


At least ld64-85.2.1 is needed.
the results here were obtained with the cctools/ld64 sources from the xcode 
3.1.4 source release.

https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556837.html
https://gcc.gnu.org/pipermail/gcc-testresults/2020-March/556838.html

+ two small patches:
(1) for libstdc++

diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index 155a3cdea1b..d16d9519e43 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -240,11 +240,6 @@ case "${host_os}" in
   darwin8 | darwin8.* )
 # For 8+ compatibility is better if not -flat_namespace.
 OPT_LDFLAGS="${OPT_LDFLAGS} -Wl,-single_module"
-case "${host_cpu}" in
-  i[34567]86 | x86_64)
-OPTIMIZE_CXXFLAGS="${OPTIMIZE_CXXFLAGS} -fvisibility-inlines-hidden"
-;;
-esac
 os_include_dir="os/bsd/darwin"
 ;;
   darwin*)


(2) for Ada

diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index 41434655865..74f843f2907 100644
--- a/gcc/ada/adaint.c
+++ b/gcc/ada/adaint.c
@@ -2351,7 +2351,10 @@ __gnat_number_of_cpus (void)
 #if defined (__linux__) || defined (__sun__) || defined (_AIX) \
   || defined (__A

[help] how can I have an email address with @gcc.gnu.org ?

2020-03-21 Thread Zhongyunde




Want to contribute in open source project

2020-03-21 Thread PRIYANSHU ARYA via Gcc
Dear Sir/ma'am:

I'm a new learner wanted to contribute in your open source project so i
want to know how to start contributing in your open source projects and
want to know all the requirements for contributing in your organization.

Kindly tell me the whole process for this asap.

Having skills :-
C language expert
C++ language intermediate
Core java intermediate
Python expert
Data structure with python
Database beginner
Web development beginner

I'm waiting for your response back to me.

Priyanshu Arya


Re: Spam, bounces and gcc list removal

2020-03-21 Thread Thomas Koenig via Gcc

Hi,


since the change to the new list management, there has been
an uptick of spam getting through. Spam is bounced by my ISP,
and this just resulted in a warning that there were too many
bounces and that I would get removed from the list unless I
confirmed it (which I then did).

This has now happened a second time, and this question


So, a request: Could the overseers either install more effective
spam protection for the list as a whole (preferred) or relax the
limit on bounces?


is still valid.

Some kind of reaction would be appreciated.

Regards

Thomas




Re: Spam, bounces and gcc list removal

2020-03-21 Thread H.J. Lu via Gcc
On Sat, Mar 21, 2020 at 12:40 PM Thomas Koenig via Gcc  wrote:
>
> Hi,
>
> > since the change to the new list management, there has been
> > an uptick of spam getting through. Spam is bounced by my ISP,
> > and this just resulted in a warning that there were too many
> > bounces and that I would get removed from the list unless I
> > confirmed it (which I then did).
> This has now happened a second time, and this question

Same here.

> > So, a request: Could the overseers either install more effective
> > spam protection for the list as a whole (preferred) or relax the
> > limit on bounces?
>
> is still valid.
>
> Some kind of reaction would be appreciated.
>
> Regards
>
> Thomas
>
>


-- 
H.J.


Re: Spam, bounces and gcc list removal

2020-03-21 Thread Frank Ch. Eigler via Gcc
Hi -

> > since the change to the new list management, there has been
> > an uptick of spam getting through. Spam is bounced by my ISP,
> > and this just resulted in a warning that there were too many
> > bounces and that I would get removed from the list unless I
> > confirmed it (which I then did).
> This has now happened a second time, and this question

For my reference, could you forward one of these spams & bounces to me?

> > So, a request: Could the overseers either install more effective
> > spam protection for the list as a whole (preferred)

Heh, if only it were that easy!  Spam filtering was and is distinct
from mailing list processing, and as you know it's a constant arms
race.  We're working hard to make the new installation of spamassassin
as discriminating as possible.  We're also working on the workflow to
clean the web archives of spam that got through.

> > or relax the limit on bounces?

OK, there are a couple of settings over at:
https://gcc.gnu.org/mailman/admin/gcc/bounce
that law and we can think about, but I'd like
to see the messages in question to figure out what happened.


- FChE



Re: Spam, bounces and gcc list removal

2020-03-21 Thread Maciej W. Rozycki
On Sat, 21 Mar 2020, Frank Ch. Eigler via Gcc wrote:

> > > So, a request: Could the overseers either install more effective
> > > spam protection for the list as a whole (preferred)
> 
> Heh, if only it were that easy!  Spam filtering was and is distinct
> from mailing list processing, and as you know it's a constant arms
> race.  We're working hard to make the new installation of spamassassin
> as discriminating as possible.  We're also working on the workflow to
> clean the web archives of spam that got through.

 Spam bouncing is evil and often hits an innocent person whose address has 
been faked by the sender of spam, making the source of bounces not better 
than the originator.  I have been hit myself like that in the past when 
someone chose to use my address; fortunately I only received a mere 1000 
of bounces or so.  If caught and chosen not to be quarantined or stored in 
a spambox, spam is best silently dropped on the floor aka /dev/null.

 I would certainly recommend anyone making use of services provided by an 
ISP who bounces spam to contact their e-mail system administrator and 
enquire as to why they chose to do so.  At worst I would change the ISP 
for their bad practices, and I think the decision to unsubscribe people 
whose ISP chose to bounce spam received through the mailing list is a 
reasonable one.

  Maciej


Re: Want to contribute in open source project

2020-03-21 Thread Jonathan Wakely via Gcc
On Sat, 21 Mar 2020 at 15:24, PRIYANSHU ARYA via Gcc  wrote:
>
> Dear Sir/ma'am:
>
> I'm a new learner wanted to contribute in your open source project so i
> want to know how to start contributing in your open source projects and
> want to know all the requirements for contributing in your organization.

See https://gcc.gnu.org/wiki/GettingStarted


Re: Not usable email content encoding

2020-03-21 Thread Maciej W. Rozycki
On Tue, 17 Mar 2020, Segher Boessenkool wrote:

> > I'm surprised it's an issue for you: normally your email client
> > would transform quoted-printable and copying would do the right thing
> > (i.e. select actual patch contents, without whitespace munging).
> > 
> > Are you trying to copy from the raw message representation?
> 
> Everyone trying to work with a patch (instead of just the email) always
> is working with the raw message.  Just  patch < mbox  or  git-am mbox
> for example.

 Well, not everyone obviously as I don't, so please be careful speaking 
quantifiers.

 I apply inline patches with `git am -' by piping messages or attachments 
to the command directly from my e-mail client (with its `Pipe' command), 
so I don't care how any message or attachment has been encoded for 
transport as long as the patch hasn't come out damaged once decoded.

 I'd expect any sane e-mail client to support a similar command if it were 
to be used for software development the way we do it, though I realise 
that regrettably some may not be as capable.

  Maciej


gcc-9-20200321 is now available

2020-03-21 Thread GCC Administrator via Gcc
Snapshot gcc-9-20200321 is now available on
  https://gcc.gnu.org/pub/gcc/snapshots/9-20200321/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 9 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch releases/gcc-9 
revision ecce469d89e8943a021f128eca4e423d72e30c78

You'll find:

 gcc-9-20200321.tar.xzComplete GCC

  SHA256=52173db917b04458226b805a8656e50202a8a97bb5a9fbe86a14cd9b731d6f3a
  SHA1=eeb73c1c6db30976064577a2fd9408330238f205

Diffs from 9-20200314 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-9
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.


Re: Spam, bounces and gcc list removal

2020-03-21 Thread Oleg Endo
On Sat, 2020-03-21 at 13:08 -0700, H.J. Lu via Gcc wrote:
> On Sat, Mar 21, 2020 at 12:40 PM Thomas Koenig via Gcc <
> gcc@gcc.gnu.org> wrote:
> > 
> > Hi,
> > 
> > > since the change to the new list management, there has been
> > > an uptick of spam getting through. Spam is bounced by my ISP,
> > > and this just resulted in a warning that there were too many
> > > bounces and that I would get removed from the list unless I
> > > confirmed it (which I then did).
> > 
> > This has now happened a second time, and this question
> 
> Same here.
> 

Same here.


Cheers,
Oleg