summaryrefslogtreecommitdiff
path: root/Distrib/SystemAPILimits.mdwn
blob: 74c45ec8f6f03fefdc4bfb2483e97e1dbf8cef45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## <a name="API_Limitations_of_the_GNU_syste"> </a> 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:

* <http://bugs.debian.org/hurd> ([source](http://packages.qa.debian.org/h/hurd.html) and [binary](http://packages.debian.org/hurd) debs not synchronized)
* <http://bugs.debian.org/hurd-dev> ([binary](http://packages.debian.org/hurd-dev))
* <http://bugs.debian.org/libc0.3> ([source](http://packages.qa.debian.org/g/glibc.html) &amp; [binary](http://packages.debian.org/libc0.3) debs)
* <http://bugs.debian.org/libc0.3-dev> ([binary](http://packages.debian.org/libc0.3-dev))

----

These are the known system API limits that have porting implications.

**_[\#190732](http://bugs.debian.org/190732): hurd: non-priviledged user may crash filesystem_**<br />**breaks:** coreutils<br />**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_**<br />**breaks:** xfree86 (when compiled with pthreads)<br />**error:** `gcc -ansi` gets parse error with `inline`<br />**status:** patch sent

**_[\#177486](http://bugs.debian.org/177486): POSIX semaphore_**<br />**breaks:** gnome-libs?<br />**error:** missing `<semaphore.h>`<br />**status:** patch sent (but looks like it needs more work)

**_[\#184565](http://bugs.debian.org/184565): libc0.3: missing shm\* functions (from `<sys/shm.h>`)_**<br />**breaks:** cdrtools<br />**error:** warning: shm\* is not implemented and will always fail

**_[\#184573](http://bugs.debian.org/184573): missing res\_search in `-lresolv`_**<br />**breaks:** krb5<br />**status:** actualy this should be in [[PortingIssues]] (see bug log)

**_[\#190581](http://bugs.debian.org/190581): nice() doesn't work_**<br />**breaks:** coreutils<br />**error:** `nice()` doesn't take effect on some situations

**_[\#171022](http://bugs.debian.org/171022): libc0.3: missing tmpfile64 function_**<br />**breaks:** python2.2<br />**error:** linker can't find `tmpfile64`. this can be manifested in code that calls `tmpfile` when `_FILE_OFFSET_BITS == 64`<br />**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++_**<br />**breaks:** fam, gail<br />**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`)_**<br />**breaks:** gnome-session (and others) from running<br />**error:** misc lock-related errors

-- [[Main/RobertMillan]] - 01 May 2003

Text formatting.<br /> -- [[Main/OgnyanKulev]] - 02 May 2003