From: "Kirill A. Shutemov" <kirill@shutemov.name> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] IA: Toolchain update Date: Wed, 4 Nov 2009 11:04:51 +0200 Message-ID: <cc557aab0911040104m289c4b8avce4d6ef300b60b48@mail.gmail.com> (raw) In-Reply-To: <20091103153720.GB27829@wo.int.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1725 bytes --] 2009/11/3 Dmitry V. Levin <ldv@altlinux.org>: > On Sun, Nov 01, 2009 at 02:44:07AM +0200, Kirill A. Shutemov wrote: >> glibc-kernherders has been synced with kernel 2.6.32-rc5. If you find any >> headers-relared issues, please report me. > > Well, I've got a problem with this update: strace no longer builds due to > breakage somewhere between linux/netlink.h and linux/socket.h: > > configure:8880: checking for linux/netlink.h > configure:8902: x86_64-alt-linux-gcc -c -pipe -Wall -O2 conftest.c >&5 > In file included from conftest.c:72: > /usr/include/linux/netlink.h:34: error: expected specifier-qualifier-list before 'sa_family_t' > > Indeed, > $ printf '#include <%s>\n' linux/netlink.h |gcc -O2 -xc -c -o/dev/null - > In file included from <stdin>:1: > /usr/include/linux/netlink.h:34: error: expected specifier-qualifier-list before ‘sa_family_t’ > > $ fgrep sa_family_t /usr/include/linux/netlink.h > #include <linux/socket.h> /* for sa_family_t */ > sa_family_t nl_family; /* AF_NETLINK */ > > $ fgrep -c sa_family_t /usr/include/linux/socket.h > 0 > > This is due to a deliberate change in /usr/include/linux/socket.h introduced > by kernel commit 9c501935a3cdcf6b1d35aaee3aa11c7a7051a305. > > Now sys/socket.h must be included before linux/netlink.h to compile the > latter. This is not an option for configure check, Why? Buggy configure.(ac|in) should be fixed. Patch for strace attached. You really don't want to use <linux/socket.h>. > so it should be done by linux/socket.h or linux/netlink.h. Use libc headers from kernel headers is a bad idea. It will be rejected by upstream, but I can try to push it, if you really need it. [-- Attachment #2: strace.patch --] [-- Type: application/octet-stream, Size: 662 bytes --]
next prev parent reply other threads:[~2009-11-04 9:04 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-11-01 0:44 Kirill A. Shutemov 2009-11-01 16:41 ` [devel] [engrish] " Michael Shigorin 2009-11-01 19:14 ` [devel] [ruslish] Re: IA: средства вызывающие последовательность обновить Anton Farygin 2009-11-01 19:50 ` Michael Shigorin 2009-11-01 20:04 ` [devel] [ruslish] Re: код в #14291 (архитектуры в rpm) Anton Farygin 2009-11-01 20:52 ` [devel] [ruslish] Re: код в #14291 ( архитектуры " Led 2009-11-01 21:03 ` Anton Farygin 2009-11-01 22:01 ` Led 2009-11-01 22:27 ` Led 2009-11-02 8:19 ` Anton Farygin 2009-11-01 23:12 ` [devel] код в #14291 (архитектуры " Michael Shigorin 2009-12-17 14:16 ` [devel] IA: Toolchain update Alexey Tourbin 2009-11-03 15:37 ` Dmitry V. Levin 2009-11-03 16:22 ` Sergey Vlasov 2009-11-04 9:04 ` Kirill A. Shutemov [this message] 2009-11-04 12:52 ` Dmitry V. Levin 2009-11-10 21:08 ` Dmitry V. Levin 2009-11-10 22:21 ` Kirill A. Shutemov 2009-11-10 22:56 ` Dmitry V. Levin 2009-11-10 23:25 ` Evgeny Sinelnikov 2009-11-10 23:39 ` Kirill A. Shutemov 2009-11-10 23:48 ` Evgeny Sinelnikov 2009-11-10 23:53 ` Kirill A. Shutemov 2009-11-11 0:02 ` Evgeny Sinelnikov 2009-11-11 0:14 ` Kirill A. Shutemov 2009-11-11 0:19 ` Evgeny Sinelnikov 2009-11-11 0:29 ` Kirill A. Shutemov 2009-11-12 22:48 ` [devel] [JT] квотинг (was: IA: Toolchain update) Michael Shigorin 2009-11-13 10:31 ` [devel] [JT] квотинг Anton Farygin 2009-11-14 10:45 ` Michael Shigorin 2009-11-14 11:07 ` Andrey Rahmatullin 2009-11-14 11:47 ` Anton Farygin
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=cc557aab0911040104m289c4b8avce4d6ef300b60b48@mail.gmail.com \ --to=kirill@shutemov.name \ --cc=devel@lists.altlinux.org \ /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
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git