public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* mips64 gcc 3.3.6 problem
@ 2009-08-19 11:53 Sergey Anosov
  2009-08-19 11:55 ` Paolo Carlini
  2009-08-19 12:13 ` complete_unrolli / complete_unroll Albert Cohen
  0 siblings, 2 replies; 16+ messages in thread
From: Sergey Anosov @ 2009-08-19 11:53 UTC (permalink / raw)
  To: gcc

Hi all!

I've made a toolchain for mips64el - binutils 2.17.90 + gcc 3.3.6 + glibc 2.3.6.
I've successfully compile a linux 2.16.62 kernel and run it in qemu.
But when I try to execute dynamically compiled "Hello world" program - I' ve got a SIGSEGV"

do_page_fault() #2: sending SIGSEGV to a.out for invalid write access to
000000555556a7a7 (epc == 0000005555558010, ra == 0000005555557cd0)
@@@ do_page_fault
Segmentation fault

Statically linked executables are running without any problem!

If I use gcc 4.1.3 + glibc 2.7 + binutils 2.19 - everything ok.
I tried to install binutils 2.19 instead of binutils 2.17 (binutils 2.19, gcc 3.3.6 and glibc 2.3.6) - and dynamically linked programs are running.

So, I think it is a compiler problem, isn'it?
Does anybody have such problem? Or mips64 platform and gcc 3.3.6 are not compatible?

Thanks!


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: complete_unrolli / complete_unroll
@ 2009-08-20 11:20 Dominique Dhumieres
  2009-08-20 12:25 ` Richard Guenther
  0 siblings, 1 reply; 16+ messages in thread
From: Dominique Dhumieres @ 2009-08-20 11:20 UTC (permalink / raw)
  To: gcc; +Cc: richard.guenther, Albert.Cohen

IIRC another code that is "improved" by complete_unrolli is the polyhedron
test induct.f90.  However it gives worse results for some variants
(see pr34265: induct_v2/3).

> Can't we use graphite to re-roll loops? ...

Is doing and undoing always some kind of work?

Cheers

Dominique

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

end of thread, other threads:[~2009-09-30  9:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-19 11:53 mips64 gcc 3.3.6 problem Sergey Anosov
2009-08-19 11:55 ` Paolo Carlini
2009-08-19 12:13 ` complete_unrolli / complete_unroll Albert Cohen
2009-08-19 12:33   ` Richard Guenther
2009-08-19 12:35     ` Richard Guenther
2009-08-19 13:56     ` Albert Cohen
2009-08-19 14:44       ` Albert Cohen
2009-08-19 15:09         ` Richard Guenther
2009-08-19 20:30           ` Richard Guenther
2009-08-20  8:45             ` Albert Cohen
2009-08-20  9:57               ` Richard Guenther
2009-08-20 13:34                 ` Albert Cohen
2009-09-29 18:54                 ` David Edelsohn
2009-09-30 12:36                   ` Richard Guenther
2009-08-20 11:20 Dominique Dhumieres
2009-08-20 12:25 ` Richard Guenther

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).