From: justin <jlec@gentoo.org>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Use config scripts to detect ncurses libs for, menuconfig/nconfig dialogs
Date: Wed, 27 Feb 2013 15:30:07 +0100 [thread overview]
Message-ID: <512E186F.6090507@gentoo.org> (raw)
In-Reply-To: <201302252153.39465.yann.morin.1998@free.fr>
[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]
On 25/02/13 21:53, Yann E. MORIN wrote:
>>> Do you know of a distribution where this is the case, so I can test?
Fedora is also building with --with-termlib but they are using a ld
script to workaround the linking problem. I talked to our (Gentoo Linux)
base-system maintainers but they refused to apply this, instead they
said the consuming packages should be fixed. This is now an ongoing effort.
> But I'll see at installing a Gentoo (if that's not too complex) in a
> VM to do the checks (can you confirm that Gentoo by default configures
> ncurses with --with-termlib ?).
>
It is not the "default" configuration in a classic sense, because it
will only build with that option if a consuming package requests this.
Here the receipt for generic reproduction:
* Get yourself a copy of our live dvd
(http://gentoo.inode.at//releases/x86/20121221/)
* Kick a vm or boot from the dvd (Make sure you have enough RAM, because
you will compile ncurses on it and place the git checkout there.)
* Get a terminal and switch to root
* Update the package db by running: emerge --sync
* Rebuild ncurses with:
ACCEPT_KEYWORDS="~x86" USE="tinfo" emerge -va1 ncurses
Important here that "tinfo" is marked as changing USE (colored green)
* Switch to ld.gold with "binutils-config --linker ld.gold" (make sure
that it worked out -> ld -v)
* git clone the kernel and do your testing.
Justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
prev parent reply other threads:[~2013-02-27 14:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-24 15:50 [PATCH] Use config scripts to detect ncurses libs for, menuconfig/nconfig dialogs Justin
2013-02-25 18:30 ` Yann E. MORIN
2013-02-25 20:32 ` Justin
2013-02-25 20:53 ` Yann E. MORIN
2013-02-26 6:59 ` justin
2013-02-27 14:30 ` justin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=512E186F.6090507@gentoo.org \
--to=jlec@gentoo.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox