Can't build thread on openbsd sparc64 => B.c:5078: virtual memory exhausted
authorAlain Barbet <alian@cpan.org>
Tue, 19 Aug 2003 18:18:03 +0000 (20:18 +0200)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 19 Aug 2003 16:54:48 +0000 (16:54 +0000)
Message-ID: <20030819161650.65754.qmail@onion.perl.org>

p4raw-id: //depot/perl@20780

MANIFEST
ext/B/hints/openbsd.pl [new file with mode: 0644]

index bec2f7b..a8935e0 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -95,6 +95,7 @@ ext/B/C/C.xs          Compiler C backend external subroutines
 ext/B/C/Makefile.PL    Compiler C backend makefile writer
 ext/B/defsubs_h.PL     Generator for constant subroutines
 ext/B/hints/darwin.pl  Hints for named architecture
+ext/B/hints/openbsd.pl Hints for named architecture
 ext/B/Makefile.PL      Compiler backend makefile writer
 ext/B/NOTES            Compiler backend notes
 ext/B/O.pm             Compiler front-end module (-MO=...)
diff --git a/ext/B/hints/openbsd.pl b/ext/B/hints/openbsd.pl
new file mode 100644 (file)
index 0000000..bd2149f
--- /dev/null
@@ -0,0 +1,2 @@
+# gcc -O3 (and -O2) get overly excited over B.c in OpenBSD 3.3/sparc 64
+$self->{OPTIMIZE} = '-O1' if $Config{ARCH} eq 'sparc64';