lightdm fails to build with gcc-4.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Undecided
|
Matt Fischer |
Bug Description
Hey,
it seems that lightdm (1.2 at least) doesn't build with gcc-4.7:
gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -Wall -Wmissing-
In file included from /usr/include/
libsystem.c: In function 'pam_setcred':
/usr/include/
libsystem.c:879:27: error: called from here
In file included from /usr/include/
/usr/include/
libsystem.c:881:27: error: called from here
make[4]: *** [libsystem_
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/tmp/buildd/
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/
dh_auto_build: make -j6 returned exit code 2
Related branches
- Robert Ancell: Approve
-
Diff: 11 lines (+0/-1)1 file modifiedtests/src/libsystem.c (+0/-1)
Changed in lightdm: | |
status: | Confirmed → In Progress |
assignee: | nobody → Matt Fischer (mfisch) |
summary: |
- fails to build with gcc-4.7 + lightdm fails to build with gcc-4.7 on amd64 |
summary: |
- lightdm fails to build with gcc-4.7 on amd64 + lightdm fails to build with gcc-4.7 |
Changed in lightdm: | |
status: | In Progress → Fix Committed |
It seems that getgroups() is redefined inside libsystem.c and not inlined there.