From: Oleg Krivosheev <kriol@fnal.gov>
To: egcs@cygnus.com
Subject: objc SMP patch
Date: Wed, 20 Aug 1997 05:23:02 -0000 [thread overview]
Message-ID: <199708200552.BAA04922@churchy.gnu.ai.mit.edu> (raw)
In-Reply-To: 199708200523.AAA02390@mercury.xraylith.wisc.edu
Hi, All
it is still impossible to built ObjC on
any SMP box. I've enclosed below
a bit hacked Jim Meyering patch
which cures the problem.
Can someone take a look ?
sincerely
OK
* objc/Make-lang.in (objc/*.o): Depend on $(GCC_PASSES) cc1obj.
=====================================================
--- objc/Make-lang.in.orig Tue Jul 15 08:53:43 1997
+++ objc/Make-lang.in Tue Jul 15 08:52:52 1997
@@ -128,58 +128,59 @@
objc/thr.o objc/linking.o \
objc/$(OBJC_THREAD_FILE).o
-objc/hash.o: $(srcdir)/objc/hash.c
+objc/hash.o: $(srcdir)/objc/hash.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/hash.c -o $@
-objc/sarray.o: $(srcdir)/objc/sarray.c
+objc/sarray.o: $(srcdir)/objc/sarray.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/sarray.c -o $@
-objc/class.o: $(srcdir)/objc/class.c
+objc/class.o: $(srcdir)/objc/class.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/class.c -o $@
-objc/sendmsg.o: $(srcdir)/objc/sendmsg.c
+objc/sendmsg.o: $(srcdir)/objc/sendmsg.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/sendmsg.c -o $@
-objc/init.o: $(srcdir)/objc/init.c
+objc/init.o: $(srcdir)/objc/init.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/init.c -o $@
-objc/archive.o: $(srcdir)/objc/archive.c
+objc/archive.o: $(srcdir)/objc/archive.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/archive.c -o $@
-objc/encoding.o: $(srcdir)/objc/encoding.c
+objc/encoding.o: $(srcdir)/objc/encoding.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/encoding.c -o $@
-objc/selector.o: $(srcdir)/objc/selector.c
+objc/selector.o: $(srcdir)/objc/selector.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/selector.c -o $@
-objc/objects.o: $(srcdir)/objc/objects.c
+objc/objects.o: $(srcdir)/objc/objects.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/objects.c -o $@
-objc/misc.o: $(srcdir)/objc/misc.c
+objc/misc.o: $(srcdir)/objc/misc.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/misc.c -o $@
-objc/NXConstStr.o: $(srcdir)/objc/NXConstStr.m
+objc/NXConstStr.o: $(srcdir)/objc/NXConstStr.m $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/NXConstStr.m -o $@
-objc/Object.o: $(srcdir)/objc/Object.m
+objc/Object.o: $(srcdir)/objc/Object.m $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/Object.m -o $@
-objc/Protocol.o: $(srcdir)/objc/Protocol.m
+objc/Protocol.o: $(srcdir)/objc/Protocol.m $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/Protocol.m -o $@
-objc/thr.o: $(srcdir)/objc/thr.h $(srcdir)/objc/thr.c
+objc/thr.o: $(srcdir)/objc/thr.h $(srcdir)/objc/thr.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/thr.c -o $@
-objc/$(OBJC_THREAD_FILE).o: $(srcdir)/objc/$(OBJC_THREAD_FILE).c
+objc/$(OBJC_THREAD_FILE).o: $(srcdir)/objc/$(OBJC_THREAD_FILE).c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/$(OBJC_THREAD_FILE).c -o $@
-objc/nil_method.o: $(srcdir)/objc/nil_method.c
+objc/nil_method.o: $(srcdir)/objc/nil_method.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/nil_method.c -o $@
-objc/linking.o: $(srcdir)/objc/linking.m
+objc/linking.o: $(srcdir)/objc/linking.m $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/linking.m -o $@
-$(srcdir)/objc/libobjc_entry.o: $(srcdir)/objc/libobjc_entry.c
+
+$(srcdir)/objc/libobjc_entry.o: $(srcdir)/objc/libobjc_entry.c $(GCC_PASSES) cc1obj
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
-c $(srcdir)/objc/libobjc_entry.c -o $@
WARNING: multiple messages have this Message-ID
From: Oleg Krivosheev <kriol@fnal.gov>
To: egcs@cygnus.com
Subject: threads support on solaris
Date: Wed, 20 Aug 1997 05:23:02 -0000 [thread overview]
Message-ID: <199708200552.BAA04922@churchy.gnu.ai.mit.edu> (raw)
Message-ID: <19970820052302.K5WG9xbBIXgzB5RoZWeVtenH_mVyoJZXUY2cFDUBKKc@z> (raw)
In-Reply-To: Pine.GSO.3.96.970820005856.10992A-100000@drabble
Hi, All
starting with Solaris 2.5 Sun ships POSIX
threads bundled with OS. Grand idea is to
make posix threads default option for
multithreading ObjC runtime support if
we're building on solaris 2.5+.
Please find enclosed patch which
makes thr-posix default on
solaris 2.5 and up if
user sets --enable-threads
Can someone take a looke at this?
regards
OK
*** configure.orig Tue Aug 19 20:48:26 1997
--- configure Wed Aug 20 01:02:21 1997
***************
*** 2266,2271 ****
--- 2266,2288 ----
fi
truncate_target=yes
;;
+ i[3456]86-*-solaris2.[56789]*)
+ xm_file=i386/xm-sysv4.h
+ if [ x$stabs = xyes ]
+ then
+ tm_file=i386/sol2dbg.h
+ else
+ tm_file=i386/sol2.h
+ fi
+ tmake_file=i386/t-sol2
+ extra_parts="crt1.o crti.o crtn.o crtbegin.o crtend.o"
+ xmake_file=x-svr4
+ fixincludes=fixinc.svr4
+ broken_install=yes
+ if [ x$enable_threads = xyes ]; then
+ thread_file='posix'
+ fi
+ ;;
i[3456]86-*-solaris2*)
xm_file=i386/xm-sysv4.h
if [ x$stabs = xyes ]
***************
*** 3687,3692 ****
--- 3704,3721 ----
tmake_file="sparc/t-sparcbare t-rtems"
tm_file=sparc/rtems.h
;;
+ sparc-*-solaris2.[56789]*)
+ tm_file=sparc/sol2.h
+ xm_file=sparc/xm-sol2.h
+ tmake_file=sparc/t-sol2
+ xmake_file=sparc/x-sysv4
+ extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
+ fixincludes=fixinc.svr4
+ broken_install=yes
+ if [ x$enable_threads = xyes ]; then
+ thread_file='posix'
+ fi
+ ;;
sparc-*-solaris2*)
tm_file=sparc/sol2.h
xm_file=sparc/xm-sol2.h
*** configure.in.orig Tue Aug 19 20:57:22 1997
--- configure.in Tue Aug 19 21:04:03 1997
***************
*** 932,937 ****
--- 932,954 ----
fi
truncate_target=yes
;;
+ i[[3456]]86-*-solaris2.[[56789]]*)
+ xm_file=i386/xm-sysv4.h
+ if [[ x$stabs = xyes ]]
+ then
+ tm_file=i386/sol2dbg.h
+ else
+ tm_file=i386/sol2.h
+ fi
+ tmake_file=i386/t-sol2
+ extra_parts="crt1.o crti.o crtn.o crtbegin.o crtend.o"
+ xmake_file=x-svr4
+ fixincludes=fixinc.svr4
+ broken_install=yes
+ if [[ x$enable_threads = xyes ]]; then
+ thread_file='posix'
+ fi
+ ;;
i[[3456]]86-*-solaris2*)
xm_file=i386/xm-sysv4.h
if [[ x$stabs = xyes ]]
***************
*** 2353,2358 ****
--- 2370,2387 ----
tmake_file="sparc/t-sparcbare t-rtems"
tm_file=sparc/rtems.h
;;
+ sparc-*-solaris2.[[56789]]*)
+ tm_file=sparc/sol2.h
+ xm_file=sparc/xm-sol2.h
+ tmake_file=sparc/t-sol2
+ xmake_file=sparc/x-sysv4
+ extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
+ fixincludes=fixinc.svr4
+ broken_install=yes
+ if [[ x$enable_threads = xyes ]]; then
+ thread_file='posix'
+ fi
+ ;;
sparc-*-solaris2*)
tm_file=sparc/sol2.h
xm_file=sparc/xm-sol2.h
WARNING: multiple messages have this Message-ID
From: Craig Burley <burley@gnu.ai.mit.edu>
To: egcs@cygnus.com
Subject: Re: f771 dies with trivial fortran code
Date: Wed, 20 Aug 1997 05:23:02 -0000 [thread overview]
Message-ID: <199708200552.BAA04922@churchy.gnu.ai.mit.edu> (raw)
Message-ID: <19970820052302.ANw0bC4WJaXE6y1LePpsMFPDqRgTAEONfNXZjRW_GT8@z> (raw)
In-Reply-To: f771 dies with trivial fortran code
>f771 dumps core on i386-linux-gnulibc1 when compiling the following simple
>piece of code. Ditto for a cross-compiled i386-cygwin32-g77.
>
>could someone please check on other platforms just so I know that it's not
>a local problem?
It doesn't crash on g77-0.5.21-19970818, which is based on a fairly
heavily modified gcc-2.7.2.2, running on my i486-unknown-linuxaout
system, FWIW.
tq vm, (burley)
next reply other threads:[~1997-08-20 5:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-20 5:23 Oleg Krivosheev [this message]
1997-08-20 5:23 ` threads support on solaris Oleg Krivosheev
1997-08-20 5:23 ` f771 dies with trivial fortran code Craig Burley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199708200552.BAA04922@churchy.gnu.ai.mit.edu \
--to=kriol@fnal.gov \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).