From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: penguin-kernel@I-love.SAKURA.ne.jp, netdev@vger.kernel.org
Subject: Re: [2.6.37-rc5] Build error on parisc.
Date: Wed, 15 Dec 2010 19:22:48 +0100 [thread overview]
Message-ID: <1292437368.3427.389.camel@edumazet-laptop> (raw)
In-Reply-To: <20101215.101925.71116399.davem@davemloft.net>
Le mercredi 15 décembre 2010 à 10:19 -0800, David Miller a écrit :
> From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
> Date: Wed, 15 Dec 2010 17:01:14 +0900
>
> > [2.6.37-rc5] Build error on parisc.
> >
> > Commit 5635c10d "net: make sure struct dst_entry refcount is aligned on 64 bytes"
> > uses manual padding. I triggered BUILD_BUG_ON() when using
> > http://kernel.org/pub/tools/crosstool/files/bin/i686/4.5.1/i686-gcc-4.5.1-nolibc_hppa64-linux.tar.bz2 .
> >
> > make -s CROSS_COMPILE=hppa64-linux- ARCH=parisc
> >
> > include/net/dst.h: In function 'dst_hold':
> > include/net/dst.h:161:2: error: negative width in bit-field '<anonymous>'
> >
> > I think below patch can fix the error but that commit says that we cannot use
> > __atribute((aligned)). Why?
>
> We don't want to create holes of unused space in the structure, we want
> to know exactly how every byte of space is being used so nothing is
> wasted when all features are enabed.
Yes, sorry for missing your mail Tetsuo.
prev parent reply other threads:[~2010-12-15 18:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 8:01 [2.6.37-rc5] Build error on parisc Tetsuo Handa
2010-12-15 18:19 ` David Miller
2010-12-15 18:22 ` Eric Dumazet [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=1292437368.3427.389.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
/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