|Summary:||[patch] glut-3.7.1 : warning: -malign-loops/jumps/functions is obsolete, use -falign...|
|Product:||Gentoo Linux||Reporter:||Ryan Hill (RETIRED) <rhill>|
|Component:||[OLD] Library||Assignee:||Gentoo X packagers <x11>|
|Package list:||Runtime testing required:||---|
|Attachments:||glut ebuild diff|
Description Ryan Hill (RETIRED) 2005-02-24 15:56:53 UTC
glut_8x13.c:0: warning: -malign-loops is obsolete, use -falign-loops glut_8x13.c:0: warning: -malign-jumps is obsolete, use -falign-jumps glut_8x13.c:0: warning: -malign-functions is obsolete, use -falign-functions added this line to the ebuild to make it stop complaining: sed -i -e s/-malign/-falign/g configure Reproducible: Always Steps to Reproduce:
Comment 1 Ryan Hill (RETIRED) 2005-02-24 15:59:03 UTC
Created attachment 52073 [details, diff] glut ebuild diff
Comment 2 Donnie Berkholz (RETIRED) 2005-02-25 16:28:44 UTC
Wanna see if you can track down upstream and file a bug with them?
Comment 3 Ryan Hill (RETIRED) 2005-02-25 19:00:05 UTC
seriously? glut-3.7 was put out in '98 iirc. hrm, actually this is already fixed upstream. Mesa is at v6.2.1 which has been updated for GCC 3.4. this ebuild installs 5.0 released in 2002. if i file a bug to tell them 5.0 is outdated i'll probably get teased a bit. ;P
Comment 4 Donnie Berkholz (RETIRED) 2005-02-25 19:03:51 UTC
Then perhaps you'd like to post an updated ebuild instead. =)
Comment 5 Adam Jackson 2005-02-25 19:11:01 UTC
this doesn't affect recent Mesa, nowhere in our current configs are any of the -malign options mentioned. i would strongly recommend just using freeglut instead though, as it's both free software (unlike glut) and actively maintained.
Comment 6 Ryan Hill (RETIRED) 2005-02-25 21:31:54 UTC
i agree - that's what i actually ended up doing in the end. an updated mesa ebuild would still be doable, especially since it doesn't look like there's any recent version in portage. but imho it would be an update to media-libs/mesa or media-libs/mesa-glu rather than media-libs/glut. i think this package might be considered for removal. it doesn't install the software it claims, which has been dead upstream for 7 years and has licensing issues, and has a replacement - freeglut - that is maintained and stable and already provides virtual/glut. maybe that should be filed as a seperate bug though[?].
Comment 7 Ryan Hill (RETIRED) 2005-02-25 21:53:55 UTC
my mistake, it appears that mesa actually *does* include glut-3.7 after all, the unchanged 1998 version, which they can't update due to licensing issues. mesa-6.1.2 contains the same version, so an updated ebuild wouldn't help. =/
Comment 8 Donnie Berkholz (RETIRED) 2005-02-25 22:01:29 UTC
Gotta wait for freeglut to hit stable everywhere.
Comment 9 Donnie Berkholz (RETIRED) 2005-05-23 19:26:09 UTC
Licensing issues. Use freeglut instead.
Comment 10 Ryan Hill (RETIRED) 2005-05-23 23:47:00 UTC
is glut itself being removed from portage? (just curious)
Comment 11 Donnie Berkholz (RETIRED) 2005-05-23 23:49:35 UTC
Not until every arch gets freeglut stable.