#449 closed defect (fixed)
[get|set][e][g|u]id part of posix
Reported by: | Ralf Corsepius | Owned by: | Joel Sherrill |
---|---|---|---|
Priority: | highest | Milestone: | 2 |
Component: | score | Version: | 4.6 |
Severity: | critical | Keywords: | |
Cc: | bugs@…, ralf.corsepius@… | Blocked By: | |
Blocking: |
Description
The new samples/tests/filio test (CVS trunk) reveils a massive general problem in RTEMS:
gmake[3]: Entering directory `/users/rtems/src/rtems-cvs/build/master/powerpc-rtems/c/ppcn_60x/tests/samples/fileio'
../../../../../ppcn_60x/lib/librtemscpu.a(shell.o): In function `shell_login':
/users/rtems/src/rtems-cvs/build/master/powerpc-rtems/c/ppcn_60x/exec/libmisc/shell/../../../../../../../../rtems.master/cpukit/libmisc/shell/shell.c:388: undefined reference to `setuid'
/users/rtems/src/rtems-cvs/build/master/powerpc-rtems/c/ppcn_60x/exec/libmisc/shell/../../../../../../../../rtems.master/cpukit/libmisc/shell/shell.c:389: undefined reference to `setgid'
/users/rtems/src/rtems-cvs/build/master/powerpc-rtems/c/ppcn_60x/exec/libmisc/shell/../../../../../../../../rtems.master/cpukit/libmisc/shell/shell.c:486: undefined reference to `setuid'
/users/rtems/src/rtems-cvs/build/master/powerpc-rtems/c/ppcn_60x/exec/libmisc/shell/../../../../../../../../rtems.master/cpukit/libmisc/shell/shell.c:487: undefined reference to `setgid'
...
[further undefined references to get*id]
The cause of this problem is RTEMS having set|get*id implemented as part of cpukit/posix.
Furthermore, newlib provides definitions for these functions unconditionally.
Release:
RTEMS-CVS + RTEMS-4.6 (?)
How-To-Repeat:
Configure rtems with POSIX disabled (--disable-posix).
Change History (2)
comment:1 Changed on 08/18/03 at 06:39:08 by Ralf Corsepius
Status: | assigned → suspended |
---|
comment:2 Changed on 08/20/03 at 04:24:10 by Ralf Corsepius
Status: | suspended → closed |
---|
State-Changed-From-To: suspended->closed
State-Changed-Why: patches applied to 4.6.