Project:Toolchain/Porting notes
From Gentoo Wiki
Jump to:navigation
Jump to:search
Porting notes
The project maintains various porting notes.
This section describes common build breakages, example fixes and a bit of explanation. Useful to craft the patch and explain upstream why change is needed.
binutils
binutils-2.31.1
binutils-2.32
binutils-2.34
Tracker bug #707898
- Project:Toolchain/Binutils_2.34_porting_notes/undefined reference to bfd_get_section_*, example bug #707846
gcc
gcc-8
- Bug tracker gcc-8 porting bug #654766
- error: -Wabi won't warn about anything [-Werror=abi], example bug #663928
gcc-9
- Bug tracker for gcc-9 porting bug #685044
- error: expected '(' before 'volatile', example bug #679330
gcc-10
- Bug tracker for gcc-10 porting bug #706426
- -fno-common, multiple definition of 'foo': first defined here, example bug #705730
gcc-11
- Bug tracker for gcc-11 porting bug #732706
gcc-12
- Bug tracker for gcc-12 porting bug #839906
gcc-13
- Bug tracker for gcc-13 porting bug #865117
- error: ‘uint64_t’ does not name a type, example bug #865119
gcc-14
- Bug tracker for gcc-14 porting bug #914580
- Modern C porting
glibc
glibc-2.26
- sysmacros.h: missing major(), minor() macros
- xlocale.h not found
- glibc-2.26+ /etc/nsswitch.conf changes
- Migrating from SunRPC to libtirpc
glibc-2.27
glibc-2.28
Tracker: bug #663916
- fseeko, fflush are broken for bundled gnulib, example bug #663242
- linknamespace tests (>400) fail when upgrading from 2.27, example bug #669208
- error: FILE {aka struct _IO_FILE } has no member named ..., example bug #669330
- Test failures
glibc-2.30
Tracker: bug #691846
- fatal error: sys/stropts.h: No such file or directory, example bug #691762
- gettid() related issues, glibc 2.30 declares its own gettid, examples bug #691886 bug #691836
- error: RES_USE_INET6 undeclared (first use in this function), example bug #692768
- Test failures
glibc-2.31
Tracker: bug #708318
- stime() symbol removal: a.c:.text.startup+<snip>: undefined reference to stime, example bug #709642
- Test failures
glibc-2.32
Tracker: bug #736174
glibc-2.33
Tracker: bug #768369
- ...
glibc-2.34
Tracker: bug #803482
- error: expected declaration specifiers or "..." before "(" token, bug #803485, conflicting macros in outdated gnulib
- error: missing binary operator before token "(", SIGSTKSZ, bug #803554, change of SIGSTKSZ definition, outdated gnulib
- error: variably modified ‘sigsegv_stack’ at file scope, SIGSTKSZ, bug #803644, change of SIGSTKSZ definition
- error: void value not ignored as it ought to be, closefrom, bug #803557, introduction of void closefrom
- error: too few arguments to function ‘close_range’, bug #803632, introduction of close_range with 3 params
- Test failures
glibc-2.35
Tracker: bug #832701
glibc-2.36
Tracker: bug #863215
libffi
libffi-3.3
Tracker: bug #667508
libffi-3.4
Tracker: bug #801109
- USE=exec-static-trampoline exposes a latent bug in
linux-headers
linux-headers-5.2
Tracker: bug #690296