This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 3.0.1 PATCH: Avoid non-PIC code in boehm-gc for Solaris 2/Intel


Richard Henderson writes:

> This isn't going to work reliably.
> 
> Try
> 
> #define call_push(REGNAME) \
> 	{ register word reg __asm__( #REGNAME ); GC_push_one (reg); }
> 
> #ifndef __PIC__
>         call_push(ebx)
> #endif

This should be PIC since this is the only thing libtool defines.

Hans: is boehm-gc expected to work without libtool/autoconf/automake?  If
so, it may be necessary to add -DPIC somewhere to the appropriate
Makefile's.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]