This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: 4.0 patch: Implement gij -Xss option
- From: Brian Dessent <brian at dessent dot net>
- To: Krister Walfridsson <cato at df dot lth dot se>
- Cc: Bryce McKinlay <mckinlay at redhat dot com>, java-patches at gcc dot gnu dot org
- Date: Wed, 04 Jan 2006 02:48:58 -0800
- Subject: Re: 4.0 patch: Implement gij -Xss option
- References: <437CD4F5.5080309@redhat.com> <Pine.GSO.4.60.0512302320380.11481@igloo.df.lth.se>
Krister Walfridsson wrote:
> NetBSD does not define PTHREAD_STACK_MIN, so this breaks bootstrap.
> Something along the line of the patch below need to be committed on
> the trunk, gcc-4_0-branch, and gcc-4_1-branch.
FWIW this also breaks bootstrap on i686-pc-cygwin:
/e/build/gcc-large/./gcc/xgcc -shared-libgcc -B/e/build/gcc-large/./gcc
-nostdinc++ -L/e/build/gcc-large/i686-pc-cygwin/libstdc++-v3/src
-L/e/build/gcc-large/i686-pc-cygwin/libstdc++-v3/src/.libs
-B/opt/gcc4/i686-pc-cygwin/bin/ -B/opt/gcc4/i686-pc-cygwin/lib/ -isystem
/opt/gcc4/i686-pc-cygwin/include -isystem
/opt/gcc4/i686-pc-cygwin/sys-include -DHAVE_CONFIG_H -I.
-I/usr/src/gcc-trunk/libjava -I./include -I./gcj
-I/usr/src/gcc-trunk/libjava -Iinclude
-I/usr/src/gcc-trunk/libjava/include
-I/usr/src/gcc-trunk/libjava/classpath/include
-I/usr/src/gcc-trunk/libjava/classpath/native/fdlibm
-I/usr/src/gcc-trunk/libjava/../boehm-gc/include -I../boehm-gc/include
-I/usr/src/gcc-trunk/libjava/libltdl
-I/usr/src/gcc-trunk/libjava/libltdl
-I/usr/src/gcc-trunk/libjava/.././libjava/../gcc
-I/usr/src/gcc-trunk/libjava/../libffi/include -I../libffi/include
-fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSET_BITS=64 -ffloat-store -fomit-frame-pointer -Wextra -Wall
-D_GNU_SOURCE -DPREFIX=\"/opt/gcc4\" -DLIBDIR=\"/opt/gcc4/lib\"
-DJAVA_HOME=\"/opt/gcc4\"
-DBOOT_CLASS_PATH=\"/opt/gcc4/share/java/libgcj-4.2.0.jar\"
-DJAVA_EXT_DIRS=\"/opt/gcc4/share/java/ext\"
-DGCJ_ENDORSED_DIRS=\"/opt/gcc4/share/java/gcj-endorsed\"
-DLIBGCJ_DEFAULT_DATABASE=\"/opt/gcc4/lib/gcj-4.2.0/classmap.db\"
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.2.0/classmap.db\"
-DTOOLEXECLIBDIR=\"/opt/gcc4/lib/gcc/i686-pc-cygwin/4.2.0\" -g -O2 -MT
posix-threads.lo -MD -MP -MF .deps/posix-threads.Tpo -c
/usr/src/gcc-trunk/libjava/posix-threads.cc -o posix-threads.o
/usr/src/gcc-trunk/libjava/java/lang/Class.h: In member function
'java::lang::Class* java::lang::Class::getComponentType()':
/usr/src/gcc-trunk/libjava/java/lang/Class.h:339: warning: dereferencing
type-punned pointer will break strict-aliasing rules
/usr/src/gcc-trunk/libjava/posix-threads.cc: In function 'void
_Jv_InitThreads()':
/usr/src/gcc-trunk/libjava/posix-threads.cc:341: error:
'PTHREAD_STACK_MIN' was not declared in this scope
make[3]: *** [posix-threads.lo] Error 1
make[3]: Leaving directory
`/e/build/gcc-large/stage3-i686-pc-cygwin/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/e/build/gcc-large/stage3-i686-pc-cygwin/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/e/build/gcc-large'
Brian