public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word
@ 2005-08-12 18:08 gcc-bugzilla at gcc dot gnu dot org
2005-08-12 18:11 ` [Bug target/23359] " ro at techfak dot uni-bielefeld dot de
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2005-08-12 18:08 UTC (permalink / raw)
To: gcc-bugs
Between 20050627 and 20050805, several C and C++ testcases begain to fail
on Solaris 10/x86 with the native as, e.g.
+FAIL: g++.old-deja/g++.brendan/crash63.C (test for excess errors)
Excess errors:
Assembler: crash63.C
"/var/tmp//ccnloMW3.s", line 22 : Illegal mnemonic
"/var/tmp//ccnloMW3.s", line 22 : Syntax error
Line 22 has
.word 0x0b0f
which is from i386.md (trap).
This was introduced by this patch:
2005-07-21 Andrew Pinski <pinskia@physics.uc.edu>
* config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01347.html
(Btw., the ChangeLog has two typos: double leading " and /t instead of \t)
One should be able to use .value instead (cf. ASM_SHORT in att.h, but
ASM_SHORT seems completely unused right now!?). I've no idea how to do
this in the .md file, though.
Environment:
System: SunOS erebus 5.10 LAE_Preview i86pc i386 i86pc
Architecture: i86pc
host: i386-pc-solaris2.10
build: i386-pc-solaris2.10
target: i386-pc-solaris2.10
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --disable-libssp --disable-multilib --with-gmp-dir=/vol/gnu/obj/gmp-4.1.3 --with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr --enable-languages=c,c++,f95,java,objc,ada --disable-libmudflap
How-To-Repeat:
Bootstrap mainline as above.
--
Summary: Many Solaris 10/x86 testsuite failures with native as:
use of .word
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-pc-solaris2.10
GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/23359] Many Solaris 10/x86 testsuite failures with native as: use of .word
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
@ 2005-08-12 18:11 ` ro at techfak dot uni-bielefeld dot de
2005-08-12 18:13 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2005-08-12 18:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2005-08-12 18:11 -------
Subject: Re: New: Many Solaris 10/x86 testsuite failures with native as: use of .word
The same bug also affects libssp
/vol/gcc/obj/gcc-4.1.0-20050805/10-gcc/./gcc/xgcc -B/vol/gcc/obj/gcc-4.1.0-20050805/10-gcc/./gcc/ -B/vol/gcc/share/i386-pc-solaris2.10/bin/ -B/vol/gcc/share/i386-pc-solaris2.10/lib/ -isystem /vol/gcc/share/i386-pc-solaris2.10/include -isystem /vol/gcc/share/i386-pc-solaris2.10/sys-include -DHAVE_CONFIG_H -I. -I/vol/gnu/src/gcc/gcc-dist/libssp -I. -Wall -O2 -g -O2 -MT ssp.lo -MD -MP -MF .deps/ssp.Tpo -c /vol/gnu/src/gcc/gcc-dist/libssp/ssp.c -fPIC -DPIC -o .libs/ssp.o
/vol/gnu/src/gcc/gcc-dist/libssp/ssp.c: In function '__stack_chk_fail_local':
/vol/gnu/src/gcc/gcc-dist/libssp/ssp.c:177: warning: visibility attribute not supported in this configuration; ignored
Assembler: ssp.c
"/var/tmp//ccEjiHVN.s", line 138 : Illegal mnemonic
"/var/tmp//ccEjiHVN.s", line 138 : Syntax error
make[3]: *** [ssp.lo] Error 1
and causes a bootstrap failure there. It can be worked around using
--disable-libssp, though.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/23359] Many Solaris 10/x86 testsuite failures with native as: use of .word
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
2005-08-12 18:11 ` [Bug target/23359] " ro at techfak dot uni-bielefeld dot de
@ 2005-08-12 18:13 ` pinskia at gcc dot gnu dot org
2005-08-12 18:22 ` ro at techfak dot uni-bielefeld dot de
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-12 18:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-12 18:13 -------
This is a bug in the native as, please report instead to the Sun. Also we recomend gas on for Solaris
x86.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/23359] Many Solaris 10/x86 testsuite failures with native as: use of .word
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
2005-08-12 18:11 ` [Bug target/23359] " ro at techfak dot uni-bielefeld dot de
2005-08-12 18:13 ` pinskia at gcc dot gnu dot org
@ 2005-08-12 18:22 ` ro at techfak dot uni-bielefeld dot de
2005-08-12 18:22 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2005-08-12 18:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2005-08-12 18:21 -------
Subject: Re: Many Solaris 10/x86 testsuite failures with native as: use of .word
pinskia at gcc dot gnu dot org writes:
> This is a bug in the native as, please report instead to the Sun. Also we recomend gas on for Solaris
> x86.
No, it is not: the Solaris/x86 as has .value instead of .word, as I
mentioned when referring to the various definitions of ASM_SHORT in the
i386 configurations.
While gas is recommended for Solaris 10/x86 and above for amd64 support,
until your patch to use .word the native as worked fine for 32-bit only
configurations (both on Solaris 10 and before where there is no amd64
support to care about), so the use of .word introduced a regression from
4.0.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/23359] Many Solaris 10/x86 testsuite failures with native as: use of .word
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-12 18:22 ` ro at techfak dot uni-bielefeld dot de
@ 2005-08-12 18:22 ` pinskia at gcc dot gnu dot org
2005-08-12 18:34 ` ro at techfak dot uni-bielefeld dot de
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-12 18:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-12 18:22 -------
I was not the first person to add .word to the .md file.
Does Solaris's as support ud2 instruction, if not then it was broken before my patch and I only started
to fix up the problem.
Since you did not give the excat date, I don't know if your testing on 20050627 incuded:
2005-06-27 Richard Henderson <rth@redhat.com>
* config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New.
(trap): Use ud2.
which broke it in the first place.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Version|unknown |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/23359] Many Solaris 10/x86 testsuite failures with native as: use of .word
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-08-12 18:22 ` pinskia at gcc dot gnu dot org
@ 2005-08-12 18:34 ` ro at techfak dot uni-bielefeld dot de
2005-08-12 22:35 ` [Bug target/23359] [4.1 regression] " pinskia at gcc dot gnu dot org
2005-09-19 17:47 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2005-08-12 18:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2005-08-12 18:34 -------
Subject: Re: Many Solaris 10/x86 testsuite failures with native as: use of .word
pinskia at gcc dot gnu dot org writes:
> I was not the first person to add .word to the .md file.
The only other use is in *tls_global_dynamic_64, which is only used for
amd64 and thus doesn't currently affect the Solaris assembler.
> Does Solaris's as support ud2 instruction, if not then it was broken before my patch and I only started
> to fix up the problem.
It does, at least on Solaris 10/x86 which is the only system I currently
have access to: a minimal test case assembles and dis correctly shows the
ud2 instruction.
> Since you did not give the excat date, I don't know if your testing on 20050627 incuded:
> 2005-06-27 Richard Henderson <rth@redhat.com>
>
> * config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New.
> (trap): Use ud2.
>
> which broke it in the first place.
The test-results submission
http://gcc.gnu.org/ml/gcc-testresults/2005-06/msg01726.html
has
LAST_UPDATED: Mon Jun 27 10:42:42 UTC 2005
which should include the patch above according to cvs log:
revision 1.638
date: 2005/06/27 07:41:05; author: jakub; state: Exp; lines: +77 -45
[...]
* config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New.
(trap): Use ud2.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/23359] [4.1 regression] Many Solaris 10/x86 testsuite failures with native as: use of .word
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-08-12 18:34 ` ro at techfak dot uni-bielefeld dot de
@ 2005-08-12 22:35 ` pinskia at gcc dot gnu dot org
2005-09-19 17:47 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-12 22:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-12 22:35 -------
Maybe be it is time to remove support for the native assembler.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i386-pc-solaris2.10 |
GCC host triplet|i386-pc-solaris2.10 |
GCC target triplet|i386-pc-solaris2.10 |i?86-*-solaris*
Summary|Many Solaris 10/x86 |[4.1 regression] Many
|testsuite failures with |Solaris 10/x86 testsuite
|native as: use of .word |failures with native as: use
| |of .word
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/23359] [4.1 regression] Many Solaris 10/x86 testsuite failures with native as: use of .word
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-08-12 22:35 ` [Bug target/23359] [4.1 regression] " pinskia at gcc dot gnu dot org
@ 2005-09-19 17:47 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-19 17:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-19 17:46 -------
i?86-solaris is not a primary or a secondary target.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23359
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-19 17:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-12 18:08 [Bug target/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word gcc-bugzilla at gcc dot gnu dot org
2005-08-12 18:11 ` [Bug target/23359] " ro at techfak dot uni-bielefeld dot de
2005-08-12 18:13 ` pinskia at gcc dot gnu dot org
2005-08-12 18:22 ` ro at techfak dot uni-bielefeld dot de
2005-08-12 18:22 ` pinskia at gcc dot gnu dot org
2005-08-12 18:34 ` ro at techfak dot uni-bielefeld dot de
2005-08-12 22:35 ` [Bug target/23359] [4.1 regression] " pinskia at gcc dot gnu dot org
2005-09-19 17:47 ` pinskia at gcc dot gnu dot org
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).