Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 10/20] libglib2: add patch to rework clock_gettime() test
Date: Mon, 23 Aug 2010 07:42:51 +0200	[thread overview]
Message-ID: <8739u5khpg.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <7dfc97b926288b402f07f49c2464cf9fd48edbdd.1282471311.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Sun, 22 Aug 2010 12:52:02 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> The test for clock_gettime() in configure.in doesn't work properly
 Thomas> when a previous package has loaded the shared configuration cache with
 Thomas> informations about the availability of clock_gettime. A package such
 Thomas> as ctorrent does so, which means that compiling ctorrent *then*
 Thomas> libglib2 currently fails.

 Thomas> According to people on the Autoconf mailing list, the libglib2 test is
 Thomas> likely the one that needs to be fixed. The problem is that the
 Thomas> AC_CHECK_FUNCS() test assumes that if it finds clock_gettime() it
 Thomas> means that there's no need to add any -lrt flag to the
 Thomas> build. Unfortunately, due to the shared configuration cache, this test
 Thomas> is already done with -lrt, so the test succeeds, and libglib2 does not
 Thomas> know that it needs to add -lrt to G_THREAD_LIBS and
 Thomas> G_THREAD_LIBS_FOR_GTHREAD.

Thanks! It would be good to have a summary of the above in the patch
header itself. Have you sent this upstream?

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2010-08-23  5:42 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-22 10:51 [Buildroot] [pull request] Pull request for branch for-2010.08 Thomas Petazzoni
2010-08-22 10:51 ` [Buildroot] [PATCH 01/20] Fix util-linux build on MIPS Thomas Petazzoni
2010-08-22 10:51 ` [Buildroot] [PATCH 02/20] Add dependency from util-linux on ncurses Thomas Petazzoni
2010-08-22 10:51 ` [Buildroot] [PATCH 03/20] Make uClibc gen_wc8bit shows an error when no locale support available Thomas Petazzoni
2010-08-22 10:51 ` [Buildroot] [PATCH 04/20] Detect early if an UTF-8 locale is needed Thomas Petazzoni
2010-08-22 10:51 ` [Buildroot] [PATCH 05/20] Add the traditional powerpc-link-with-math-lib patch to gcc 4.4.4 Thomas Petazzoni
2010-08-22 10:51 ` [Buildroot] [PATCH 06/20] Mark CRIS architecture as deprecated Thomas Petazzoni
2010-08-22 10:51 ` [Buildroot] [PATCH 07/20] Prevent C++ + locale + uClibc 0.9.31 + gcc 4.2 to be selected Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 08/20] Update busybox 1.17.1 fixes Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 09/20] imagemagick: don't create useless debugging file Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 10/20] libglib2: add patch to rework clock_gettime() test Thomas Petazzoni
2010-08-23  5:42   ` Peter Korsgaard [this message]
2010-08-24  7:33     ` Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 11/20] lzo: fix host-lzo build failure when config cache is filled Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 12/20] Bump stable kernel headers Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 13/20] Security bump php to 5.2.14 Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 14/20] netcat: prevent build system from adding a prefix to binaries Thomas Petazzoni
2010-08-23 15:34   ` Peter Korsgaard
2010-08-24  7:31     ` Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 15/20] libxml-parser-perl/intltool: mark as host only packages Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 16/20] Add new patches Lua upstream patches rename old ones Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 17/20] luafilesystem: remove LARGE_FILE constraint Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 18/20] lua: make sure that CFLAGS are passed Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 19/20] sysvinit: make sure to link against libcrypt Thomas Petazzoni
2010-08-22 10:52 ` [Buildroot] [PATCH 20/20] sysvinit: remove unneeded dependency on ncurses Thomas Petazzoni
2010-08-22 19:52 ` [Buildroot] [pull request] Pull request for branch for-2010.08 Peter Korsgaard
2010-08-25 15:12 ` Peter Korsgaard

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=8739u5khpg.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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