[K42-discussion] [PATCH] Added empty __cxa_exit functions for destructors to globally scoped objects

Donour Sizemore donour at cs.unm.edu
Fri Aug 25 05:50:01 EST 2006


Alternatively, here's the patches broken in two.

Apply 0064, then 0066.

donour





Donour Sizemore wrote:
> Patrick G. Bridges wrote:
>> On Aug 24, 2006, at 1:29 PM, Donour Sizemore wrote:
>>
>>> This one should work for everybody.
>> k42sys.o: $(LIB_BASE) $(LIB_EMU) $(LIBDIR)/ProgExecUsr.o glibc_subset.a
>> -	$(TARGET_CC) -nostdlib -nostartfiles -r -o $@		\
>> +	$(TARGET_CC) -nostdlib -nostartfiles -r -o $@ \
>> 	    -Wl,--whole-archive $(LIB_BASE) $(LIB_EMU) $(LIBDIR)/ 
>> ProgExecUsr.o \
>> -	    -Wl,--no-whole-archive glibc_subset.a
>> +	    -Wl,--no-whole-archive glibc_subset.a /home/donour/git/install/ 
>> lib/powerpc/fullDeb/libk.a
>>
>> Looks like it still hard-codes your home directory...
>>
>> -Patrick
>>
> 
> Looks that way, but it doesn't. Keep reading. :)
> 
> donour
> _______________________________________________
> K42-discussion mailing list
> K42-discussion at ozlabs.org
> https://ozlabs.org/mailman/listinfo/k42-discussion

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0066-added-cxa_atexit.C.txt
Url: http://ozlabs.org/pipermail/k42-discussion/attachments/20060824/fa5a982e/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0064-Added-empty-__cxa_exit-functions-for-destructors-to-globally-scoped-objects.txt
Url: http://ozlabs.org/pipermail/k42-discussion/attachments/20060824/fa5a982e/attachment-0001.txt 


More information about the K42-discussion mailing list