* Re: linux-next: Tree for April 1 [BROKEN ubifs when CONFIG_DEBUG_SECTION_MISMATCH=y]
@ 2011-04-01 15:55 Sedat Dilek
2011-04-01 16:06 ` Stephen Rothwell
0 siblings, 1 reply; 4+ messages in thread
From: Sedat Dilek @ 2011-04-01 15:55 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, LKML
On Fri, Apr 1, 2011 at 5:25 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> Changes since 20110331:
>
> Dropped tree: xen
>
> The sparc-current tree lost its build failure.
>
> The gfs2 tree gained a conflict against Linus' tree.
>
> The tip tree gained a build failure (due to a change in the bjdooks-i2c
> tree) for which I applied a patch.
>
With CONFIG_DEBUG_SECTION_MISMATCH=y set, I see in my build.log:
...
MODPOST 2742 modules
...
ERROR: "empty_aops" [fs/ubifs/ubifs.ko] undefined!
make[5]: *** [__modpost] Error 1
make[4]: *** [modules] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/sd/src/linux-2.6/linux-2.6.39-rc1/debian/build/build_i386_none_686-iniza'
- Sedat -
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: Tree for April 1 [BROKEN ubifs when CONFIG_DEBUG_SECTION_MISMATCH=y]
2011-04-01 15:55 linux-next: Tree for April 1 [BROKEN ubifs when CONFIG_DEBUG_SECTION_MISMATCH=y] Sedat Dilek
@ 2011-04-01 16:06 ` Stephen Rothwell
2011-04-01 16:10 ` Sedat Dilek
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2011-04-01 16:06 UTC (permalink / raw)
To: sedat.dilek; +Cc: Sedat Dilek, linux-next, LKML, Artem Bityutskiy
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
Cc'ing Artem,
On Fri, 1 Apr 2011 17:55:52 +0200 Sedat Dilek <sedat.dilek@googlemail.com> wrote:
>
> With CONFIG_DEBUG_SECTION_MISMATCH=y set, I see in my build.log:
> ...
> MODPOST 2742 modules
> ...
> ERROR: "empty_aops" [fs/ubifs/ubifs.ko] undefined!
> make[5]: *** [__modpost] Error 1
> make[4]: *** [modules] Error 2
> make[3]: *** [sub-make] Error 2
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/sd/src/linux-2.6/linux-2.6.39-rc1/debian/build/build_i386_none_686-iniza'
>
> - Sedat -
>
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: Tree for April 1 [BROKEN ubifs when CONFIG_DEBUG_SECTION_MISMATCH=y]
2011-04-01 16:06 ` Stephen Rothwell
@ 2011-04-01 16:10 ` Sedat Dilek
2011-04-01 17:02 ` Artem Bityutskiy
0 siblings, 1 reply; 4+ messages in thread
From: Sedat Dilek @ 2011-04-01 16:10 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, LKML, Artem Bityutskiy
On Fri, Apr 1, 2011 at 6:06 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Cc'ing Artem,
>
> On Fri, 1 Apr 2011 17:55:52 +0200 Sedat Dilek <sedat.dilek@googlemail.com> wrote:
>>
>> With CONFIG_DEBUG_SECTION_MISMATCH=y set, I see in my build.log:
>> ...
>> MODPOST 2742 modules
>> ...
>> ERROR: "empty_aops" [fs/ubifs/ubifs.ko] undefined!
>> make[5]: *** [__modpost] Error 1
>> make[4]: *** [modules] Error 2
>> make[3]: *** [sub-make] Error 2
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory
>> `/home/sd/src/linux-2.6/linux-2.6.39-rc1/debian/build/build_i386_none_686-iniza'
>>
>> - Sedat -
>>
>
>
> --
> Cheers,
> Stephen Rothwell sfr@canb.auug.org.au
> http://www.canb.auug.org.au/~sfr/
>
Speculative patch (untested).
- Sedat -
$ diff -uprN fs/ubifs/xattr.c.orig fs/ubifs/xattr.c
--- fs/ubifs/xattr.c.orig 2011-04-01 15:56:08.471082117 +0200
+++ fs/ubifs/xattr.c 2011-04-01 18:08:27.355276827 +0200
@@ -81,6 +81,7 @@ enum {
static const struct inode_operations none_inode_operations;
static const struct file_operations none_file_operations;
+static const struct address_space_operations empty_aops;
/**
* create_xattr - create an extended attribute.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: Tree for April 1 [BROKEN ubifs when CONFIG_DEBUG_SECTION_MISMATCH=y]
2011-04-01 16:10 ` Sedat Dilek
@ 2011-04-01 17:02 ` Artem Bityutskiy
0 siblings, 0 replies; 4+ messages in thread
From: Artem Bityutskiy @ 2011-04-01 17:02 UTC (permalink / raw)
To: sedat.dilek; +Cc: Stephen Rothwell, linux-next, LKML
On Fri, 2011-04-01 at 18:10 +0200, Sedat Dilek wrote:
> On Fri, Apr 1, 2011 at 6:06 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > Cc'ing Artem,
> >
> > On Fri, 1 Apr 2011 17:55:52 +0200 Sedat Dilek <sedat.dilek@googlemail.com> wrote:
> >>
> >> With CONFIG_DEBUG_SECTION_MISMATCH=y set, I see in my build.log:
> >> ...
> >> MODPOST 2742 modules
> >> ...
> >> ERROR: "empty_aops" [fs/ubifs/ubifs.ko] undefined!
> >> make[5]: *** [__modpost] Error 1
> >> make[4]: *** [modules] Error 2
> >> make[3]: *** [sub-make] Error 2
> >> make[2]: *** [all] Error 2
> >> make[2]: Leaving directory
> >> `/home/sd/src/linux-2.6/linux-2.6.39-rc1/debian/build/build_i386_none_686-iniza'
> >>
> >> - Sedat -
> >>
> >
> >
> > --
> > Cheers,
> > Stephen Rothwell sfr@canb.auug.org.au
> > http://www.canb.auug.org.au/~sfr/
> >
>
> Speculative patch (untested).
>
> - Sedat -
>
> $ diff -uprN fs/ubifs/xattr.c.orig fs/ubifs/xattr.c
> --- fs/ubifs/xattr.c.orig 2011-04-01 15:56:08.471082117 +0200
> +++ fs/ubifs/xattr.c 2011-04-01 18:08:27.355276827 +0200
> @@ -81,6 +81,7 @@ enum {
>
> static const struct inode_operations none_inode_operations;
> static const struct file_operations none_file_operations;
> +static const struct address_space_operations empty_aops;
>
> /**
> * create_xattr - create an extended attribute.
ubifs doess not have 'empty_aops' symbol and does not use such symbol. I
do not understand how you got that build issue, but this must be
something to do with your local setup.
Also:
[dedekind@eru linux-next (master)]$ grep -r 'empty_aops' *
fs/nilfs2/page.c: static const struct address_space_operations empty_aops;
fs/nilfs2/page.c: mapping->a_ops = &empty_aops;
fs/inode.c: static const struct address_space_operations empty_aops;
fs/inode.c: mapping->a_ops = &empty_aops;
in the current linux-next.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-01 17:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 15:55 linux-next: Tree for April 1 [BROKEN ubifs when CONFIG_DEBUG_SECTION_MISMATCH=y] Sedat Dilek
2011-04-01 16:06 ` Stephen Rothwell
2011-04-01 16:10 ` Sedat Dilek
2011-04-01 17:02 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).