This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcj vs. SIGSEGV
> > The relevant environment variables are
> > export CPPFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/ncurses"
> > export PIC="-fPIC -DPIC"
> > export FLAGS="$CPPFLAGS -pipe -O3 -fomit-frame-pointer -ffast-math -march=k6 -m3dnow -mmmx"
>
> > export GCJFLAGS="-pipe -Wp,-D_REENTRANT -Wp,-D_GNU_SOURCE -Wp,-D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -marchexport LDFLAGS="-O3 -L/usr/local/lib -L/usr/X11R6/lib"
>
> This is very weird. -fomit-frame-pointer will surely break the libgcj
> build.
Thanks, will try your suggestion.
Franz