public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: # of unexpected failures 768 ?
@ 2011-10-31 18:49 Dennis Clarke
  2011-10-31 19:07 ` Rainer Orth
  0 siblings, 1 reply; 24+ messages in thread
From: Dennis Clarke @ 2011-10-31 18:49 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: Rainer Orth, dclarke, gcc


> On 31 October 2011 15:33, Rainer Orth wrote:
>> As an asside, I'd suggest to considerably reduce your set of configure
>> options: many of them are the default (like --without-gnu-ld
>> --with-ld=/usr/ccs/bin/ld, --enable-nls, --enable-threads=posix,
>> --enable-shared, --enable-multilib, --host=i386-pc-solaris2.8
>> --build=i386-pc-solaris2.8) or unnecessary
>> (--enable-stage1-languages=c).
>
> Yes, adding completely redundant options looks like cargo cult
> programming and just confuses anyone using the compiler who tries to
> work out how it was configured.
>
>> I'm uncertain if Solaris 8/x86 still supports bare i386 machines, so it
>> might be better to keep the default of pentiumpro instead.
>
> Solaris 8 won't run on anything less than pentium, I recently
> convinced someone else to stop building GCC for i386 on Solaris:
>
> http://gcc.gnu.org/ml/gcc-help/2011-10/msg00005.html

The Os is on Vintage support until March 2012. Also, I never had problems
with it before. As for "completely redundant options" I have been building
gcc like this for a while. also never a problem before.

This is a case of "magic configure incantation" required ? I certainly
hope not.

Dennis



-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: # of unexpected failures 768 ?
@ 2011-11-07 18:03 Dennis Clarke
  0 siblings, 0 replies; 24+ messages in thread
From: Dennis Clarke @ 2011-11-07 18:03 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: dclarke, Rainer Orth, gcc


> Dennis Clarke <dclarke@blastwave.org> writes:
>
>> Only the new "go" language seems to be a major issue now.
>
> The implementation of Go in the 4.6 releases does not support Solaris.
>
> Go on Solaris works on mainline.

Well, I would not have seen that coming. I should look more closely at the
various README's and changelogs.

To be honest, I scrapped my Solaris Sparc resultant compiler here :

http://gcc.gnu.org/ml/gcc-testresults/2011-11/msg00683.html

... and am starting over. With no go, and no pun inteneded.

Dennis



-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: # of unexpected failures        768 ?
@ 2011-11-07  2:14 Dennis Clarke
  2011-11-07  7:31 ` Ian Lance Taylor
  0 siblings, 1 reply; 24+ messages in thread
From: Dennis Clarke @ 2011-11-07  2:14 UTC (permalink / raw)
  To: Rainer Orth; +Cc: dclarke, gcc


> Dennis Clarke <dclarke@blastwave.org> writes:
>
>> I'm not too sure how many things changed from 4.6.1 to 4.6.2 but I am
>> seeing a really large increase in the number of "unexpected failures" on
>> various tests.
>>
>> With 4.6.1 and Solaris I was able to get reasonable results :
>>
>> http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg00139.html
>>
>> Then if I use the resultant compiler from a 4.6.1 build I get a massive
>> increase in failures on both i386 and Sparc :
>>
>> http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg03286.html
>
> FAIL: g++.dg/ext/visibility/fvisibility-inlines-hidden-2.C scan-not-hidden
>
> All the scan-not-hidden failures are usually an indication that objdump
> isn't in your PATH.

Right, thank you. On i386 I rectified that situation with binutils however
on Sparc this was not an issue.

See results :

  http://gcc.gnu.org/ml/gcc-testresults/2011-11/msg00683.html


Only the new "go" language seems to be a major issue now.

>> This seems blatantly wrong. At what point does one throw out the result
>> of
>> a bootstrap as not-acceptable ? With any non-zero value for "unexpected
>> failures" ?
>
> There's no such number, only comparisons to other testsuite results.  In
> many cases (e.g. in the scan-not-hidden failures above), there's nothing
> wrong with the compiler, just with the test environment.  And in your
> case, only two problems account for the vast majority of the failures.
>
>> Also, I see bucket loads of these :
>>
>> FAIL: g++.dg/pch/wchar-1.C  -O2 -g -I. (internal compiler error)
>>
>> What should I think about an "internal compiler error" ?
>
> This seems fundamentally broken on your machine.  With the exception of
> the largefile.c testcases, those pass everywhere else, so you'd have to
> debug what's going on there.

Any "internal compiler error" mean throw the whole thing out and start
over. At least that is the only safe course of action in my mind.

> FAIL: gcc.c-torture/compile/limits-exprparen.c  -O0  (internal compiler
> error)
> [...]
> FAIL: gcc.c-torture/compile/limits-structnest.c  -O2  (test for excess
> errors)
> WARNING: program timed out.
>
> Those test cases have excessive stack space or runtime requirements and
> are known to fail on slow machines or those with default resource
> limits.  Those are known testcase bugs, but nobody cared about this so
> far ;-(

I'm so happy to hit those special cases :-)


> Overall, your results don't look bad to me, once you've installed
> objdump and investigated the PCH failures.

yep ... I have been digging. On Sparc things are going much better but on
i386 I have tossed the whole scenario out and am starting over from first
principles. Build everything from scratch with the Sun Studio compiler
until I hit things that need gcc. Like libgmp etc.

> As an asside, I'd suggest to considerably reduce your set of configure
> options: many of them are the default (like --without-gnu-ld
> --with-ld=/usr/ccs/bin/ld, --enable-nls, --enable-threads=posix,
> --enable-shared, --enable-multilib, --host=i386-pc-solaris2.8
> --build=i386-pc-solaris2.8) or unnecessary
> (--enable-stage1-languages=c).
>
> I'm uncertain if Solaris 8/x86 still supports bare i386 machines, so it
> might be better to keep the default of pentiumpro instead.

Yep, did that. Thank you. However on i386 things got worse, not better. I
have to toss that out and start over. On Sparc things are much better with
the exception of "go".

Thank you for the input.

Dennis


-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: # of unexpected failures 768 ?
@ 2011-11-03 15:32 Dennis Clarke
  0 siblings, 0 replies; 24+ messages in thread
From: Dennis Clarke @ 2011-11-03 15:32 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Rainer Orth, Michael Haubenwallner, gcc


> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
>> Ian Lance Taylor <iant@google.com> writes:
>>
>>> Michael Haubenwallner <michael.haubenwallner@salomon.at> writes:
>>>
>>>> But still: given that x86-solaris started with some Pentium, I just
>>>> can't believe gcc can "optimize" for real 80386 CPU on Solaris now.
>>>>
>>>> Especially as i386 (from config.guess) is the default too.
>>>
>>> I'm not sure why you don't believe it.  It is what I would expect.
>>>
>>> If we want to make this work more normally for ordinary users, I think
>>> the right thing to do would be to patch config.guess to compute a
>>> better
>>> value for the build system CPU on Solaris systems.
>>
>> Please no: alpha went this route, and the consequence is that your
>> self-built gcc will generate code for the build system.  This breaks
>> completely if you have a heterogeneous collection of systems, and the
>> GCC build system isn't the least common denominator of them.  This
>> single-system mindset creates unnecessary trouble in this scenario.
>> GCC's configure has enough control over the default target CPU, even
>> without messing with config.guess, and most other programs won't care
>> about this at all.
>
> Oh, I completely agree that it would be wrong to have config.guess
> produce the exact CPU used on the build system.
>
> But having config.guess produce "i386" for an OS which does not even run
> on a vanilla i386 is also wrong.  A much better choice here would be the
> earliest CPU value which the OS actually supports.

$ isalist -v
pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

I would suggest pentium_pro if one can still find one running out there.

Dennis


-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: # of unexpected failures 768 ?
@ 2011-11-02 18:29 Dennis Clarke
  0 siblings, 0 replies; 24+ messages in thread
From: Dennis Clarke @ 2011-11-02 18:29 UTC (permalink / raw)
  To: Rainer Orth; +Cc: Ian Lance Taylor, Michael Haubenwallner, gcc


> Ian Lance Taylor <iant@google.com> writes:
>
>> Michael Haubenwallner <michael.haubenwallner@salomon.at> writes:
>>
>>> But still: given that x86-solaris started with some Pentium, I just
>>> can't believe gcc can "optimize" for real 80386 CPU on Solaris now.
>>>
>>> Especially as i386 (from config.guess) is the default too.
>>
>> I'm not sure why you don't believe it.  It is what I would expect.
>>
>> If we want to make this work more normally for ordinary users, I think
>> the right thing to do would be to patch config.guess to compute a better
>> value for the build system CPU on Solaris systems.
>
> Please no: alpha went this route, and the consequence is that your
> self-built gcc will generate code for the build system.  This breaks
> completely if you have a heterogeneous collection of systems, and the
> GCC build system isn't the least common denominator of them.  This
> single-system mindset creates unnecessary trouble in this scenario.
> GCC's configure has enough control over the default target CPU, even
> without messing with config.guess, and most other programs won't care
> about this at all.
>
>

Personally I am all for "it ain't broke, don't fix it".

Dennis



-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: # of unexpected failures 768 ?
@ 2011-11-02 14:29 Dennis Clarke
  0 siblings, 0 replies; 24+ messages in thread
From: Dennis Clarke @ 2011-11-02 14:29 UTC (permalink / raw)
  To: Michael Haubenwallner; +Cc: gcc


>> It's redundant if you *want* to build for that host, but the whole
>> point is that building for i386 is usually a very bad idea, so
>> --host=i586-pc-solaris2.8 would be better.
>
> Erm - what I want to say is that I would really wonder if it does have
> /any/
> influence (binary-wise) to gcc on Solaris (unlike Linux) whether to
> configure
> for i386 or i586 (via '--host' or even '--target').
>


Oh, well, that would be a worthwhile experiment I think.

dc


-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: # of unexpected failures 768 ?
@ 2011-11-02 11:26 Dennis Clarke
  0 siblings, 0 replies; 24+ messages in thread
From: Dennis Clarke @ 2011-11-02 11:26 UTC (permalink / raw)
  To: Michael Haubenwallner; +Cc: gcc


>
> Actually, it is uname showing the 'i386' on Solaris:
>   $ uname -p           # Prints the current host's ISA or processor type.
>   i386
>   $ uname -i           # Prints the name of the platform.
>   i86pc
>
> So I'd wonder if '--host=i386-pc-solaris2.8' actually does make any
> difference here.
>
> Just my 2 cents.

no prob.

Actually on Solaris you will always get 'i386' even if you are running on
a top of the line AMD Opteron 16-core machine with 8 sockets. It still
reports that it is a i386 and not x86_64 or even amd64.

Now isainfo and isalist are a whole other matter. Personally I'd like to
see conffigure take advantage of that data as it is much more rich.

On sparc you get this sort of data :

# isalist -a
sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld
sparcv7 sparc
# isainfo -v
64-bit sparcv9 applications
32-bit sparc applications

On some old pentium box you get this :

Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
$
$ isalist -a
pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
$ isainfo -v
32-bit i386 applications
$

Dennis


-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread
* # of unexpected failures        768 ?
@ 2011-10-31  9:28 Dennis Clarke
  2011-10-31 16:15 ` Eric Botcazou
  2011-10-31 17:22 ` Rainer Orth
  0 siblings, 2 replies; 24+ messages in thread
From: Dennis Clarke @ 2011-10-31  9:28 UTC (permalink / raw)
  To: gcc


I'm not too sure how many things changed from 4.6.1 to 4.6.2 but I am
seeing a really large increase in the number of "unexpected failures" on
various tests.

With 4.6.1 and Solaris I was able to get reasonable results :

http://gcc.gnu.org/ml/gcc-testresults/2011-07/msg00139.html

Then if I use the resultant compiler from a 4.6.1 build I get a massive
increase in failures on both i386 and Sparc :

http://gcc.gnu.org/ml/gcc-testresults/2011-10/msg03286.html

and thus far on Sparc I see :

                === gcc Summary ===

# of expected passes            69236
# of unexpected failures        768
# of expected failures          235
# of unresolved testcases       1
# of unsupported tests          1240
/opt/bw/src/GCC/gcc-4.6.2-SunOS5.8-sparc/gcc/xgcc  version 4.6.2
(Blastwave.org Inc Thu Oct 27 11:33:20 GMT 2011)

and :

                === g++ Summary ===

# of expected passes            26251
# of unexpected failures        101
# of unexpected successes       1
# of expected failures          169
# of unresolved testcases       1
# of unsupported tests          496
/opt/bw/src/GCC/gcc-4.6.2-SunOS5.8-sparc/gcc/testsuite/g++/../../g++ 
version 4.6.2 (Blastwave.org Inc Thu Oct 27 11:33:20 GMT 2011)

This seems blatantly wrong. At what point does one throw out the result of
a bootstrap as not-acceptable ? With any non-zero value for "unexpected
failures" ?

Also, I see bucket loads of these :

FAIL: g++.dg/pch/wchar-1.C  -O2 -g -I. (internal compiler error)

What should I think about an "internal compiler error" ?

Dennis
( concerned in Solaris world )



-- 
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke           | Solaris and Linux and Open Source |
| dclarke@blastwave.org   | Respect for open standards.       |
+-------------------------+-----------------------------------+

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2011-11-07 11:41 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-31 18:49 # of unexpected failures 768 ? Dennis Clarke
2011-10-31 19:07 ` Rainer Orth
2011-10-31 22:33   ` Jonathan Wakely
2011-11-02  6:52     ` Michael Haubenwallner
2011-11-02 11:41       ` Jonathan Wakely
2011-11-02 13:53         ` Michael Haubenwallner
2011-11-02 17:11           ` Jonathan Wakely
2011-11-02 17:42             ` Michael Haubenwallner
2011-11-02 18:07               ` Rainer Orth
2011-11-02 19:55                 ` Michael Haubenwallner
2011-11-02 18:10               ` Ian Lance Taylor
2011-11-02 18:15                 ` Rainer Orth
2011-11-02 18:21                   ` Ian Lance Taylor
  -- strict thread matches above, loose matches on Subject: below --
2011-11-07 18:03 Dennis Clarke
2011-11-07  2:14 Dennis Clarke
2011-11-07  7:31 ` Ian Lance Taylor
2011-11-03 15:32 Dennis Clarke
2011-11-02 18:29 Dennis Clarke
2011-11-02 14:29 Dennis Clarke
2011-11-02 11:26 Dennis Clarke
2011-10-31  9:28 Dennis Clarke
2011-10-31 16:15 ` Eric Botcazou
2011-10-31 17:22 ` Rainer Orth
2011-10-31 18:21   ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).