I had a problem compiling ipfilter 3.4.28 on Solaris 8, using GCC 3.1.1; the
buildsunos script was failing saying it couldn't find a 64-bit capable
compiler. After some thrashing around, I was able to get everything to
compile by removing the "-mcmodel=medlow" parameter from the buildsunos
script. But I have a feeling that I should probably not use the resulting
binaries until I understand why the compile failed.

When I try to compile a test program using "-m64 -mcmodel=medlow", I get the
error:

/usr/lib/ld/sparcv9/map.below4G: file not recognized: File format not
recognized
collect2: ld returned 1 exit status

This comes down to two questions: can I use the binaries compiled without
the "medlow" parameter, and if not, does anyone know how to get the
parameter to work with GCC?

Thanks in advance,
David Meissner

Reply via email to