Compiling kernel with -g option.

Subodh Nijsure subodh at
Wed Nov 7 11:12:13 EST 2001

Sorry if this is "basic" question but I looked through mailing and couldn't
find a solution.

When I compile kernel and some of my own modules together I get tons
of error like --

relocation truncated to fit: R_PPC_REL24 copy_to_user

However if I compile everything with -O2 options everything works fine,
any way I can fix this so I can debug things....



** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list