Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Chris Wright (chriswirex.com)
Date: Mon Oct 08 2001 - 13:42:25 CDT
* Luciano Miguel Ferreira Rocha (strangensk.yi.org) wrote:
> You can't compile a kernel or kernel modules on an Immunix System. It
> results in unresolved symbols relating to the StackGuard and others mechanism.
this is not exactly accurate Luciano.
you CAN compile a kernel or kernel modules on an Immunix System
absolutely fine (I do it nearly every day ;-). There is an issue with the
StackGuard compiler, however it does _not_ disable you from compiling
kernel code. You simply must include the proper CFLAG to disable StackGuard
during kernel code compilation.
The kernel packages shipped with Immunix have patched Makefiles to
disable StackGuard. If the code you are compiling is a patch to the
kernel (and builds from the kernel make system) then you have nothing to
worry about. If it compiles standalone from its own Makefile, then you
must make sure you disable StackGuard yourself.
If you are downloading a new kernel, you must simply patch the Makefiles
youself...see the canary-2.2.18.patch file shipped in the extras/
directory of Immunix 7.0 (or on our website
> You may compile the kernel and/or the modules in a non-Immunix system and
> then use them in an Immunix system without any trouble, or try to compile
> the modules with the argument -fno-canary-all-functions to gcc.
If you are using Immunix >= 6.2 (or more specifically using the
egcs-2.91.66-StackGuard compiler) the flag to disable StackGuard
is -mno-terminator-canary (the -fno-canary-all-functions is older).
 You will get unresolved symbols _only_ related to the canary_death_handler.
Immunix-users mailing list