GPM 1.20.1 problems

Billy O'Connor billyoc at
Tue Jan 21 14:45:57 PST 2003

Billy O'Connor <billyoc at> writes:

> gschafer at (Greg Schafer) writes:
>>> > Only happens with -Os
>>> Bingo, sure does.  Now what, is exporting LDFLAGS="-lm" good enough?
>> I dunno. You're the programmer around here so you go figure it out :-)
> ROFL!  I did!  I emailed the maintainer with the patch to
> ;)
>> Common sense tells me that if a program includes math.h then it should link
>> against -lm. But there may be reasons why that is not true.
>> But I don't understand why it works when not compiled with -Os. I just
>> discovered it fails when compiling with no optimisation at all (-O0) so
>> maybe the ceil rounding function gets optimized away by the compiler or
>> sumthin??
> Yeah, time for gcc-bugs, I guess.
> I hate going there.

No, wait, this has nothing to do with gcc, the file
needs -lm, that's all.  We can use the export command until they put
up a new tarball.

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-dev' in the subject header of the message

More information about the blfs-dev mailing list