[gentoo-commits] proj/devmanual:master commit in: archs/amd64/
commit: 4e7a2e7b243be4ef2033097d1351e42c9be97fa1 Author: Ulrich Müller gentoo org> AuthorDate: Fri Nov 12 19:22:58 2021 + Commit: Ulrich Müller gentoo org> CommitDate: Wed Dec 22 14:51:30 2021 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4e7a2e7b archs/amd64: econf passes --libdir by default Signed-off-by: Ulrich Müller gentoo.org> archs/amd64/text.xml | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml index cbfe8df..db9e9c5 100644 --- a/archs/amd64/text.xml +++ b/archs/amd64/text.xml @@ -232,22 +232,10 @@ this behaviour is controlled by the MULTILIB_STRICT_EXEMPT variable in -In most cases, it's sufficient to use the $(get_libdir) function: +In most cases, default econf behaviour is sufficient, because it will +pass the correct --libdir option to configure. - -src_compile() { - econf \ - --libdir=/usr/$(get_libdir) - - emake || die -} - -src_install() { -emake DESTDIR="${D}" install || die -} - - Some packages provide really bad Makefiles which hard-code /usr/lib. Those should be sed -ed or patched. Don't forget to let upstream know about your
[gentoo-commits] proj/devmanual:master commit in: archs/amd64/
commit: 0c7a9194274fd3248bee89b59268f1ad975b2db1 Author: Ulrich Müller gentoo org> AuthorDate: Fri Nov 12 19:10:44 2021 + Commit: Ulrich Müller gentoo org> CommitDate: Wed Dec 22 14:51:17 2021 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=0c7a9194 archs/amd64: Update information on profiles Signed-off-by: Ulrich Müller gentoo.org> archs/amd64/text.xml | 158 +-- 1 file changed, 40 insertions(+), 118 deletions(-) diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml index b2acc1a..cbfe8df 100644 --- a/archs/amd64/text.xml +++ b/archs/amd64/text.xml @@ -143,141 +143,66 @@ variable and ). -Libdir Links +Libdir links -Currently, we provide several profiles, each with its own combination of libdir -configurations. +Currently, we provide several profiles, each with its own combination of +libdir configurations. Table entries x86, amd64, etc. indicate that +the directory contains objects for this ABI; entries with an arrow indicate +a symlink to the respective directory. - - Profile - - - lib32 - - - lib - - - lib64 - - - - - 2004.3 - - - *l-emul* - - - d64 - - - *l-lib* - +Profile +lib +lib32 +lib64 +libx32 - - 2004.3/lib64 - - - *l-emul* - - - *l-64* - - - d64 - +17.0 +- lib64 +x86 +amd64 +non-existent - - =2005.0 - - - d32 - - - *l-64* - - - d64 - +17.0/no-multilib +- lib64 +non-existent +amd64 +non-existent - - =2005.0/no-multilib - - - d32 - - - *l-64* - - - d64 - +17.0/x32 +- libx32 +x86 +amd64 +x32 - - =2005.0/no-symlink - - - d32 - - - d - - - d64 - +17.1 +x86 +non-existent +amd64 +non-existent - - =2005.0/no-symlink/no-lib32 - - - inexistant - - - d32 - - - d64 - +17.1/no-multilib +n/a +non-existent +amd64 +non-existent - - -d - - -Directory containing mixed-bit objects - - -dXX - - -Directory containing XXbit objects - - -l-foo - - -Link to foo - - - -To always get the right path, you should use the function $(get_libdir) -from . It will always -return the correct directory, on all arches. And of course it also takes care -of the ABI variable. +To always get the right path, you should use $(get_libdir) which is +available as a package manager function since EAPI 6. It will always return +the correct directory, on all arches. And of course it also takes care of +the ABI variable. @@ -307,13 +232,10 @@ this behaviour is controlled by the MULTILIB_STRICT_EXEMPT variable in -In most cases, it's sufficient to use the $(get_libdir) function from -: +In most cases, it's sufficient to use the $(get_libdir) function: -inherit multilib - src_compile() { econf \ --libdir=/usr/$(get_libdir)
[gentoo-commits] proj/devmanual:master commit in: archs/amd64/
commit: e3e013f2d5903ce8bfe5722631ffb517c9e3363a Author: Ulrich Müller gentoo org> AuthorDate: Fri Nov 12 11:10:24 2021 + Commit: Ulrich Müller gentoo org> CommitDate: Fri Nov 12 11:10:24 2021 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=e3e013f2 archs/amd64: Link to eclass documentation Signed-off-by: Ulrich Müller gentoo.org> archs/amd64/text.xml | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml index 06b4968..b2acc1a 100644 --- a/archs/amd64/text.xml +++ b/archs/amd64/text.xml @@ -69,8 +69,9 @@ doesn't help upstream at all. Another bad idea is to (ab)use append-flags function from -flag-o-matic.eclass. Applying -fPIC on all objects should not be -done. It should only be applied to shared objects. +. +Applying -fPIC on all objects should not be done. It should only be +applied to shared objects. @@ -135,7 +136,7 @@ To understand how this is done in the ebuild, read As you read above, 32bit applications must be linked against 32bit libraries. For that, we've made the most common libraries as multilib (via ABI -variable and multilib.eclass). +variable and ). @@ -273,9 +274,10 @@ configurations. -To always get the right path, you should use the function $(get_libdir) from -multilib.eclass. It will always return the correct directory, on all arches. -And of course it also takes care of the ABI variable. +To always get the right path, you should use the function $(get_libdir) +from . It will always +return the correct directory, on all arches. And of course it also takes care +of the ABI variable. @@ -306,7 +308,7 @@ this behaviour is controlled by the MULTILIB_STRICT_EXEMPT variable in In most cases, it's sufficient to use the $(get_libdir) function from -multilib.eclass: +:
[gentoo-commits] proj/devmanual:master commit in: archs/amd64/
commit: afaf341f4f3fdf6d866f16fa7c609223da6b8e5f Author: Azamat H. Hackimov gmail com> AuthorDate: Thu Nov 4 13:10:29 2021 + Commit: Ulrich Müller gentoo org> CommitDate: Fri Nov 12 11:09:28 2021 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=afaf341f Updated information about 32bit compatibility emul-linux-x86-* packages removed long time ago. Closes: https://bugs.gentoo.org/821670 Signed-off-by: Azamat H. Hackimov gmail.com> Signed-off-by: Ulrich Müller gentoo.org> archs/amd64/text.xml | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml index d615e8f..06b4968 100644 --- a/archs/amd64/text.xml +++ b/archs/amd64/text.xml @@ -129,28 +129,15 @@ To understand how this is done in the ebuild, read -The emul-linux-x86-* packages +32bit compatibility As you read above, 32bit applications must be linked against 32bit libraries. -For that, we've put together the most used libraries and stuck them into the -so-called emul-linux-x86 packages, which are located in the -app-emulation category. The current list of all the emul-linux-x86 -packages, can be found https://dev.gentoo.org/~pacho/emul.html;>here. +For that, we've made the most common libraries as multilib (via ABI +variable and multilib.eclass). - -These packages only provide pre-compiled libraries. Currently, the -archives are assembled manually, which is the main reason to keep the packages -as tidy as possible. Do not include libraries that aren't commonly used. - - - - The emul-packages might conflict with their native images, but only in - uncritical locations like /usr/share which are arch-independent anyway. - -
[gentoo-commits] proj/devmanual:master commit in: archs/amd64/, tools-reference/false-and-true/, tools-reference/head-and-tail/, ...
commit: ac02769235c204b7919dc9b447273356d92faf1d Author: Ulrich Müller gentoo org> AuthorDate: Wed Mar 11 14:05:00 2020 + Commit: Ulrich Müller gentoo org> CommitDate: Wed Mar 11 14:38:26 2020 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=ac027692 Use unicode em-dash in titles. Replace -- in titles by em-dashes throughout, except for QA notices in appendices/common-problems where it is replaced by a colon (which is what the actual QA notices have). Signed-off-by: Ulrich Müller gentoo.org> appendices/common-problems/text.xml | 8 archs/alpha/text.xml| 2 +- archs/amd64/text.xml| 2 +- archs/mips/text.xml | 2 +- archs/ppc/text.xml | 2 +- archs/sparc/text.xml| 2 +- archs/x86/text.xml | 2 +- general-concepts/overlay/text.xml | 4 ++-- tools-reference/bash/text.xml | 2 +- tools-reference/cat/text.xml| 2 +- tools-reference/cut/text.xml| 2 +- tools-reference/diff-and-patch/text.xml | 2 +- tools-reference/echo/text.xml | 2 +- tools-reference/ekeyword/text.xml | 2 +- tools-reference/false-and-true/text.xml | 2 +- tools-reference/find/text.xml | 2 +- tools-reference/grep/text.xml | 2 +- tools-reference/head-and-tail/text.xml | 2 +- tools-reference/sed/text.xml| 2 +- tools-reference/sort/text.xml | 2 +- tools-reference/tr/text.xml | 2 +- tools-reference/uniq/text.xml | 2 +- 22 files changed, 26 insertions(+), 26 deletions(-) diff --git a/appendices/common-problems/text.xml b/appendices/common-problems/text.xml index c16608b..b4fd3ea 100644 --- a/appendices/common-problems/text.xml +++ b/appendices/common-problems/text.xml @@ -28,7 +28,7 @@ covered here. -QA Notice -- USE Flag foo not in IUSE +QA Notice: USE Flag foo not in IUSE @@ -42,7 +42,7 @@ See and -QA Notice -- foo in global scope +QA Notice: foo in global scope @@ -87,7 +87,7 @@ in use, there are various alternatives: -QA Notice -- foo is setXid, dynamically linked and using lazy bindings +QA Notice: foo is setXid, dynamically linked and using lazy bindings @@ -111,7 +111,7 @@ for security reasons. If this message is shown, you have a couple of options: -QA Notice -- ECLASS foo inherited illegally +QA Notice: ECLASS foo inherited illegally diff --git a/archs/alpha/text.xml b/archs/alpha/text.xml index e294166..9087c09 100644 --- a/archs/alpha/text.xml +++ b/archs/alpha/text.xml @@ -1,7 +1,7 @@ -Arch Specific Notes -- Alpha +Arch Specific Notes — Alpha diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml index 057d92c..e4713f5 100644 --- a/archs/amd64/text.xml +++ b/archs/amd64/text.xml @@ -1,7 +1,7 @@ -Arch Specific Notes -- AMD64/EM64T +Arch Specific Notes — AMD64/EM64T Position Independent Code Issues diff --git a/archs/mips/text.xml b/archs/mips/text.xml index 9d7637c..7e6bc06 100644 --- a/archs/mips/text.xml +++ b/archs/mips/text.xml @@ -1,7 +1,7 @@ -Arch Specific Notes -- MIPS +Arch Specific Notes — MIPS diff --git a/archs/ppc/text.xml b/archs/ppc/text.xml index fc449bf..3390dd9 100644 --- a/archs/ppc/text.xml +++ b/archs/ppc/text.xml @@ -1,7 +1,7 @@ -Arch Specific Notes -- PPC +Arch Specific Notes — PPC diff --git a/archs/sparc/text.xml b/archs/sparc/text.xml index a0fda3b..9ce02d8 100644 --- a/archs/sparc/text.xml +++ b/archs/sparc/text.xml @@ -1,7 +1,7 @@ -Arch Specific Notes -- SPARC +Arch Specific Notes — SPARC diff --git a/archs/x86/text.xml b/archs/x86/text.xml index b2cc835..d6ddad7 100644 --- a/archs/x86/text.xml +++ b/archs/x86/text.xml @@ -1,7 +1,7 @@ -Arch Specific Notes -- x86 +Arch Specific Notes — x86 diff --git a/general-concepts/overlay/text.xml b/general-concepts/overlay/text.xml index aca48c7..a180c88 100644 --- a/general-concepts/overlay/text.xml +++ b/general-concepts/overlay/text.xml @@ -42,8 +42,8 @@ Be very careful when using eclasses in an overlay. Portage will not do cache updates when an overlay eclass is changed, nor will it do cache updates when a main Gentoo repository eclass which is used by an overlay ebuild changes. You may also encounter bogus 'illegal inherit' notices when working with eclasses in -an overlay (see ). +an overlay (see +). To be safe, manually touch all relevant overlay files after updating overlay eclasses. diff --git a/tools-reference/bash/text.xml b/tools-reference/bash/text.xml index 36fe8af..77b5298 100644 --- a/tools-reference/bash/text.xml +++ b/tools-reference/bash/text.xml @@ -1,7 +1,7 @@ -bash -- Standard Shell +bash — Standard Shell diff --git a/tools-reference/cat/text.xml b/tools-reference/cat/text.xml index 51501ac..a56de13 100644 --- a/tools-reference/cat/text.xml +++ b/tools-reference/cat/text.xml @@ -1,7 +1,7
[gentoo-commits] proj/devmanual:master commit in: archs/amd64/, archs/alpha/
commit: 1b073255032feb9293c0f4eacb20b20de39c427f Author: Ulrich Müller gentoo org> AuthorDate: Thu Jan 9 21:01:46 2020 + Commit: Ulrich Müller gentoo org> CommitDate: Thu Jan 9 21:24:38 2020 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=1b073255 archs/*: Update links to arch projects. Signed-off-by: Ulrich Müller gentoo.org> archs/alpha/text.xml | 2 +- archs/amd64/text.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archs/alpha/text.xml b/archs/alpha/text.xml index da13385..c52e080 100644 --- a/archs/alpha/text.xml +++ b/archs/alpha/text.xml @@ -139,7 +139,7 @@ The Alpha team can be contacted: -https://alpha.gentoo.org/;>Gentoo Linux Alpha Development Project +https://wiki.gentoo.org/wiki/Project:Alpha;>Gentoo Linux Alpha Development Project https://www.gentoo.org/doc/en/gentoo-alpha-faq.xml;>Gentoo/Alpha FAQ diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml index 0f75426..4e9919a 100644 --- a/archs/amd64/text.xml +++ b/archs/amd64/text.xml @@ -579,7 +579,7 @@ segmentation faults or strange behaviour. GCC 4.0 refuses to compile such code. -https://amd64.gentoo.org/;>Gentoo/AMD64 Project +https://wiki.gentoo.org/wiki/Project:AMD64;>Gentoo/AMD64 Project https://www.gentoo.org/doc/en/gentoo-amd64-faq.xml;>Gentoo/Linux AMD64 FAQ
[gentoo-commits] proj/devmanual:master commit in: archs/amd64/
commit: 5213053fd5d9716da8c94773a5a4525ce0af9322 Author: Mike Gilbert floppym AT gentoo DOT org AuthorDate: Fri Mar 6 17:38:31 2015 + Commit: Mike Gilbert floppym AT gentoo DOT org CommitDate: Fri Mar 6 17:38:31 2015 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=5213053f Remove Assembler Optimisation section The USE flags listed are not in either use.force or use.mask. The rest of the text is not particularly interesting or useful. archs/amd64/text.xml | 45 - 1 file changed, 45 deletions(-) diff --git a/archs/amd64/text.xml b/archs/amd64/text.xml index 3019b4b..8aeff2d 100644 --- a/archs/amd64/text.xml +++ b/archs/amd64/text.xml @@ -81,51 +81,6 @@ done. It should only be applied to shared objects. /section section -titleAssembler Optimisation/title -body - -p -Modern x86 processors support special instruction sets like cmmx/c, csse/c, -cSSE2/c and c3DNow!/c. AMD64 also provides support for them, but in most -cases, x86 assembler code is incompatible with AMD64 assembler. There are lots -of packages that provide support through USE flags for these instruction sets. -Originally, the USE flags were introduced to keep support for older processors -such as the Pentium I that can't handle such code. Currently, all AMD64s support the -same combination of extended instruction sets, so there is no reason to make -use of the mentioned USE flags. That's why these USE flags are hard-masked in -all AMD64-profiles. This doesn't mean we don't support the extensions -themselves, instead, we hard-enable them. -/p - -p -The following USE flags are masked on AMD64: -/p - -ul - li -mmx - /li - li -mmx2 - /li - li -sse - /li - li -sse2 - /li - li -3dnow - /li - li -3dnowext - /li -/ul - -/body -/section - -section titleMultilib on AMD64/title body