public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50077] New: FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10
@ 2011-08-13 15:42 dominiq at lps dot ens.fr
2012-01-09 21:46 ` [Bug target/50077] " dominiq at lps dot ens.fr
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-08-13 15:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50077
Bug #: 50077
Summary: FAIL: gcc.target/i386/pr49866.c (test for excess
errors) on x86_64-apple-darwin10
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: iains@gcc.gnu.org, jakub@gcc.gnu.org,
ubizjak@gmail.com
Host: x86_64-apple-darwin10
Target: x86_64-apple-darwin10
Build: x86_64-apple-darwin10
On x86_64-apple-darwin10 gcc.target/i386/pr49866.c fails with
[macbook] f90/bug% gcc47 -O2 -mcmodel=large
/opt/gcc/work/gcc/testsuite/gcc.target/i386/pr49866.c
/var/folders/LW/LW1oufkMGIqlLpjYn45fBU+++TI/-Tmp-//ccCXYFLc.s:10:junk `@PLTOFF'
after expression
/var/folders/LW/LW1oufkMGIqlLpjYn45fBU+++TI/-Tmp-//ccCXYFLc.s:32:junk `@PLTOFF'
after expression
/var/folders/LW/LW1oufkMGIqlLpjYn45fBU+++TI/-Tmp-//ccCXYFLc.s:34:junk `@PLTOFF'
after expression
/var/folders/LW/LW1oufkMGIqlLpjYn45fBU+++TI/-Tmp-//ccCXYFLc.s:48:junk `@PLTOFF'
after expression
The test has been introduced at revision 176842, but fails for all the gcc
versions I have tried from 4.4.6 to trunk.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10
2011-08-13 15:42 [Bug target/50077] New: FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
@ 2012-01-09 21:46 ` dominiq at lps dot ens.fr
2012-02-02 11:40 ` iains at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-01-09 21:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50077
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-09 21:45:19 UTC ---
I have tested the -mcmodel=large option on some simple C tests and I got the
same kind of failures.
So -mcmodel=large seems broken on x86_64-apple-darwin10 (gcc 4.4.6, 4.5.3, and
4.6.2).
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
gives for
[macbook] f90/bug% cat sin.c
#include <stdio.h>
#include <math.h>
unsigned int ta;
main ()
{
double result;
for (ta = 1; ta <= 8000000; ta++)
{
result = sin(ta * 3.14159);
}
printf("result = \t%.13e\n", result);
}
sin.c:1: sorry, unimplemented: code model large not supported in PIC mode
sin.c:1: error: code model 'large' not supported in the 64 bit mode
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10
2011-08-13 15:42 [Bug target/50077] New: FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2012-01-09 21:46 ` [Bug target/50077] " dominiq at lps dot ens.fr
@ 2012-02-02 11:40 ` iains at gcc dot gnu.org
2012-02-02 16:06 ` dominiq at lps dot ens.fr
2015-01-03 12:45 ` [Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin1* dominiq at lps dot ens.fr
3 siblings, 0 replies; 5+ messages in thread
From: iains at gcc dot gnu.org @ 2012-02-02 11:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50077
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64-apple-darwin10 |x86_64-apple-darwin10,
| |i?86-apple-darwin9
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-02-02
Host|x86_64-apple-darwin10 |
Ever Confirmed|0 |1
Build|x86_64-apple-darwin10 |
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2012-02-02 11:40:03 UTC ---
Fails at m64 on i686-darwin9 too.
the code below is obviously incorrect for m64 x86 Darwin; so, we just don't
handle the large model.
movabsq $_GLOBAL_OFFSET_TABLE_-L7, %r11
pushq %r15
LCFI0:
movq %rcx, %r15
movabsq $_baz@PLTOFF, %rax
pushq %r14
LCFI1:
movabsq $_fn2@PLTOFF, %r14
pushq %r13
LCFI2:
movabsq $_fn@PLTOFF, %r13
pushq %r12
------
clang seems to support -mcmodel=large - at least at 3.1 - so any necessary
ld64/dyld support is available.
This is not likely to get fixed in the short term (certainly not in stage 4) -
so we'll have to decide between XFAIL/tolerate the noise in the error logs.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10
2011-08-13 15:42 [Bug target/50077] New: FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2012-01-09 21:46 ` [Bug target/50077] " dominiq at lps dot ens.fr
2012-02-02 11:40 ` iains at gcc dot gnu.org
@ 2012-02-02 16:06 ` dominiq at lps dot ens.fr
2015-01-03 12:45 ` [Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin1* dominiq at lps dot ens.fr
3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-02-02 16:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50077
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-02-02 16:06:05 UTC ---
> clang seems to support -mcmodel=large - at least at 3.1 - so any necessary
> ld64/dyld support is available.
The test compiles (using -c) with
Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
> This is not likely to get fixed in the short term (certainly not in stage 4) -
> so we'll have to decide between XFAIL/tolerate the noise in the error logs.
When XFAILed, this kind of bug disappears from the radar scopes and tends to
rot forever (see pr10901) until it resurfaces in a nasty way. I'ld prefer to
change the summary to something such as "large model is broken on
*86*-apple-darwin*" to point to the real problem.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin1*
2011-08-13 15:42 [Bug target/50077] New: FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2012-02-02 16:06 ` dominiq at lps dot ens.fr
@ 2015-01-03 12:45 ` dominiq at lps dot ens.fr
3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-03 12:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50077
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|x86_64-apple-darwin10, |x86_64-apple-darwin1*,
|i?86-apple-darwin9 |i?86-apple-darwin9
Summary|FAIL: |FAIL:
|gcc.target/i386/pr49866.c |gcc.target/i386/pr49866.c
|(test for excess errors) on |(test for excess errors) on
|x86_64-apple-darwin10 |x86_64-apple-darwin1*
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Also seen on x86_64-apple-darwin14.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-03 12:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-13 15:42 [Bug target/50077] New: FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2012-01-09 21:46 ` [Bug target/50077] " dominiq at lps dot ens.fr
2012-02-02 11:40 ` iains at gcc dot gnu.org
2012-02-02 16:06 ` dominiq at lps dot ens.fr
2015-01-03 12:45 ` [Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin1* dominiq at lps dot ens.fr
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).