maintainer-feedback requested: [Bug 196155] graphics/freeglut: fix build on mips, remove .la file, strip library

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 20 13:55:35 UTC 2014


Dmitry Marakasov <amdmi3 at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to x11 at FreeBSD.org:
Bug 196155: graphics/freeglut: fix build on mips, remove .la file, strip
library
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196155



--- Description ---
Created attachment 150801
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150801&action=edit
Patch

Freeglut doesn't build on MIPS (full log attached):

/usr/bin/ld: undefined reference to symbol `sin@@FBSD_1.0' (try adding -lm)
//lib/libm.so.5: could not read symbols: Bad value

Adding -lm to LDFLAGS fixes this.

While here, drop .la file and strip library.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer x11 at FreeBSD.org


More information about the freebsd-x11 mailing list