* Fixing struct-by-value-[567] on solaris2 with -fpic
@ 2004-04-03 14:37 Kaveh R. Ghazi
2004-04-05 22:47 ` Janis Johnson
0 siblings, 1 reply; 2+ messages in thread
From: Kaveh R. Ghazi @ 2004-04-03 14:37 UTC (permalink / raw)
To: janis187; +Cc: gcc
Hi Janis,
I'm seeing some failures on sparc-sun-solaris2.7 for
struct-by-value-[567] when running a testsuite pass with -fpic. E.g.
http://gcc.gnu.org/ml/gcc-testresults/2004-04/msg00142.html
The logfile shows this for all three tests when linking:
> [...]
> ld: fatal: too many symbols require `small' PIC references:
> have 1283, maximum 1024 -- recompile some modules -K PIC.
> collect2: ld returned 1 exit status
> compiler exited with status 1
It doesn't indicate a bug in GCC, but it creates testsuite noise. So
I'd like to silence it somehow.
I don't think having all the cases in one executable is what you were
trying to test, so I'd like to split these three tests each into two
files. E.g. I was thinking split testcase 5 into 5a and 5b and put
half of the stuff in each one. Ditto for cases 6 and 7 respectively.
Thoughts?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fixing struct-by-value-[567] on solaris2 with -fpic
2004-04-03 14:37 Fixing struct-by-value-[567] on solaris2 with -fpic Kaveh R. Ghazi
@ 2004-04-05 22:47 ` Janis Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Janis Johnson @ 2004-04-05 22:47 UTC (permalink / raw)
To: Kaveh R. Ghazi; +Cc: janis187, gcc
On Sat, Apr 03, 2004 at 09:37:10AM -0500, Kaveh R. Ghazi wrote:
> Hi Janis,
>
> I'm seeing some failures on sparc-sun-solaris2.7 for
> struct-by-value-[567] when running a testsuite pass with -fpic. E.g.
> http://gcc.gnu.org/ml/gcc-testresults/2004-04/msg00142.html
>
> The logfile shows this for all three tests when linking:
>
> > [...]
> > ld: fatal: too many symbols require `small' PIC references:
> > have 1283, maximum 1024 -- recompile some modules -K PIC.
> > collect2: ld returned 1 exit status
> > compiler exited with status 1
>
> It doesn't indicate a bug in GCC, but it creates testsuite noise. So
> I'd like to silence it somehow.
>
> I don't think having all the cases in one executable is what you were
> trying to test, so I'd like to split these three tests each into two
> files. E.g. I was thinking split testcase 5 into 5a and 5b and put
> half of the stuff in each one. Ditto for cases 6 and 7 respectively.
>
> Thoughts?
That sounds fine to me.
Janis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-05 22:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-03 14:37 Fixing struct-by-value-[567] on solaris2 with -fpic Kaveh R. Ghazi
2004-04-05 22:47 ` Janis Johnson
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).