## API Limitations of the GNU system
----
Sometimes building or running a program will fail due to bugs in the system API implementation (in Glibc and the Hurd). Make sure you check this list and know them before porting, otherwise you'll end up debugging something just to find out its an already known bug.
Taken from the bug lists in debian BTS. If you find more of them (and it is clear in the bug log that it is a bug), please add them to the list below. See:
*
*
*
*
----
These are the known system API limits that have porting implications.
**_[\#190732](http://bugs.debian.org/190732): hurd: non-priviledged user may crash filesystem_**
**breaks:** coreutils
**error:** `mv` command crashes fs (Computer bought the farm)
**_[\#47998](http://bugs.debian.org/47998): `msgget` IPC not implemented_**
**_[\#184344](http://bugs.debian.org/184344): extern inlines in libpthread are not ansi compliant_**
**breaks:** xfree86 (when compiled with pthreads)
**error:** `gcc -ansi` gets parse error with `inline`
**status:** patch sent
**_[\#177486](http://bugs.debian.org/177486): POSIX semaphore_**
**breaks:** gnome-libs?
**error:** missing ``
**status:** patch sent (but looks like it needs more work)
**_[\#184565](http://bugs.debian.org/184565): libc0.3: missing shm\* functions (from ``)_**
**breaks:** cdrtools
**error:** warning: shm\* is not implemented and will always fail
**_[\#184573](http://bugs.debian.org/184573): missing res\_search in `-lresolv`_**
**breaks:** krb5
**status:** actualy this should be in [[PortingIssues]] (see bug log)
**_[\#190581](http://bugs.debian.org/190581): nice() doesn't work_**
**breaks:** coreutils
**error:** `nice()` doesn't take effect on some situations
**_[\#171022](http://bugs.debian.org/171022): libc0.3: missing tmpfile64 function_**
**breaks:** python2.2
**error:** linker can't find `tmpfile64`. this can be manifested in code that calls `tmpfile` when `_FILE_OFFSET_BITS == 64`
**status:** pending upload
**_[\#187391](http://bugs.debian.org/187391): libc0.3-dev: `sockaddr_un.sun_path` can't be assigned a `const char *` when compiling with g++_**
**breaks:** fam, gail
**status:** maybe this should be in [[PortingIssues]] (see _long_ bug log)
**_[\#190367](http://bugs.debian.org/190367): libc0.3-dev: `fcntl` `F_GETLK` not implemented (`ENOSYS`)_**
**breaks:** gnome-session (and others) from running
**error:** misc lock-related errors
-- [[Main/RobertMillan]] - 01 May 2003
Text formatting.
-- [[Main/OgnyanKulev]] - 02 May 2003