From: Vincent Penquerc'h <Vin...@ar...> - 2003-06-04 09:36:38
|
> In order to get valgrind to run, what cflags must I compile > my system with? > so far I've tried march=pentium3 -O2 -fomit-frame-pointer and > march=i686 -O2 > -fomit-frame-pointer Don't you directly make bzImage or something similar ? > and both of them give me an error about some CS thing which I > was told has to > do with teh CFLAGS I use to compile my system.. Reading the code, CS segment overrides aren't supported, though data seg overrides are. I guess this is it. > So basically, if any of you have compiled your linux system > from source could > you please tell me what CFLAGS you used to get valgrind to debug your > programs. I compiled my current kernel (2.2.10) with the default Makefile, and Valgrind works fine. Another machine with 2.4.13 was compiled with Pentium 2 opts IIRC, and Valgrind works fine too. Maybe the culprit is the particular kernel you use, which happens to use CS overrides ? -- Vincent Penquerc'h |