From:
[email protected]
This is a multi-part message in MIME format.
It has been signed conforming to RFC3156.
You need GPG or PGP to check the signature.
reopen 218837
retitle 218837 limit fix for sparc64 only works with locally built package thanks
the fix for the 32bit/64bit problem in the limit extension does
not work if one uses the package from any of the archive mirrors:
the fix/hack depends on -DKERNEL_64_USERSPACE_32 which is set iff the
build happens on a 64bit box.
if you build the package locally on a 64bit sparc, then it works fine.
the relevant part of the makefile:
----
# Sparc64 hack
ifeq ($(shell uname -m),sparc64)
POINTERTEST:=1
32bituser := $(shell echo -e "\#include <stdio.h>\n\#if !defined(__sparcv9) && !defined(__arch64__) && !defined
(_LP64)\nuserspace_is_32bit\n\#endif" | $(CC) $(CFLAGS) -E - | grep userspace_is_32bit)
ifdef 32bituser
# The kernel is 64-bit, even though userspace is 32.
CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32
else
EXT_LDFLAGS=-m elf64_sparc
endif
endif
----
regards
az
--
++ Alexander Zangerl
[email protected] DSA 0xF860ACF1 ++
++ Bond University IT School phone +61 7 5595 3398 ++
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFBIDfCEuhWUfhgrPERAn49AJ9gJlpSk6aSTjNpz5TwLP29NGDsSACgoT9c npIFVInZjTHlg6GsDo00vU8=
=dnQQ
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)