* reiser4 on alpha
@ 2004-06-25 23:51 Jure Peèar
2004-06-26 6:41 ` Alex Zarochentsev
0 siblings, 1 reply; 4+ messages in thread
From: Jure Peèar @ 2004-06-25 23:51 UTC (permalink / raw)
To: reiserfs-list
Hi all,
i tought someone might be interested in the following compiler warnings and
error:
LD fs/reiser4/built-in.o
CC [M] fs/reiser4/debug.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/stats.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/jnode.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/znode.o
fs/reiser4/znode.c: In function `zget':
fs/reiser4/znode.c:565: warning: long long unsigned int format, long
unsigned int arg (arg 2)
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/key.o
fs/reiser4/key.c: In function `sprintf_key':
fs/reiser4/key.c:150: warning: long long unsigned int format, oid_t arg (arg
3)
fs/reiser4/key.c:150: warning: long long unsigned int format, __u64 arg (arg
5)
fs/reiser4/key.c:150: warning: long long unsigned int format, __u64 arg (arg
6)
fs/reiser4/key.c:150: warning: long long unsigned int format, oid_t arg (arg
7)
fs/reiser4/key.c:150: warning: long long unsigned int format, __u64 arg (arg
8)
fs/reiser4/key.c:157: warning: long long unsigned int format, oid_t arg (arg
3)
fs/reiser4/key.c:157: warning: long long unsigned int format, __u64 arg (arg
5)
fs/reiser4/key.c:157: warning: long long unsigned int format, oid_t arg (arg
6)
fs/reiser4/key.c:157: warning: long long unsigned int format, __u64 arg (arg
7)
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/pool.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/tree_mod.o
fs/reiser4/tree_mod.c: In function `new_node':
fs/reiser4/tree_mod.c:62: warning: long long unsigned int format,
reiser4_block_nr arg (arg 2)
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/estimate.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/carry.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/carry_ops.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/lock.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/tree.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/context.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/tap.o
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
CC [M] fs/reiser4/coord.o
fs/reiser4/coord.c: In function `coords_equal':
fs/reiser4/coord.c:598: error: duplicate case value
fs/reiser4/coord.c:598: error: previously used here
{standard input}: Assembler messages:
{standard input}:5: Warning: setting incorrect section attributes for .got
make[2]: *** [fs/reiser4/coord.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2
Looking at fs/reiser4/debug.h suggest that this is something done on purpose
to guard against other problems.
Gcc 3.3.4 on debian/alpha, reiser4-2004.06.24-19.36-linux-2.6.7 snapshot.
--
Jure PeËar
--
Jure Pečar
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: reiser4 on alpha
2004-06-25 23:51 reiser4 on alpha Jure Peèar
@ 2004-06-26 6:41 ` Alex Zarochentsev
2004-06-26 7:57 ` Jure Peèar
0 siblings, 1 reply; 4+ messages in thread
From: Alex Zarochentsev @ 2004-06-26 6:41 UTC (permalink / raw)
To: Jure Pe??ar; +Cc: reiserfs-list
On Sat, Jun 26, 2004 at 01:51:01AM +0200, Jure Pe??ar wrote:
>
> Hi all,
>
> i tought someone might be interested in the following compiler warnings and
> error:
>
> LD fs/reiser4/built-in.o
> CC [M] fs/reiser4/debug.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
Does only reiser4 produce the above warning?
> CC [M] fs/reiser4/stats.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/jnode.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/znode.o
> fs/reiser4/znode.c: In function `zget':
> fs/reiser4/znode.c:565: warning: long long unsigned int format, long
> unsigned int arg (arg 2)
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/key.o
> fs/reiser4/key.c: In function `sprintf_key':
> fs/reiser4/key.c:150: warning: long long unsigned int format, oid_t arg (arg
> 3)
> fs/reiser4/key.c:150: warning: long long unsigned int format, __u64 arg (arg
> 5)
> fs/reiser4/key.c:150: warning: long long unsigned int format, __u64 arg (arg
> 6)
> fs/reiser4/key.c:150: warning: long long unsigned int format, oid_t arg (arg
> 7)
> fs/reiser4/key.c:150: warning: long long unsigned int format, __u64 arg (arg
> 8)
> fs/reiser4/key.c:157: warning: long long unsigned int format, oid_t arg (arg
> 3)
> fs/reiser4/key.c:157: warning: long long unsigned int format, __u64 arg (arg
> 5)
> fs/reiser4/key.c:157: warning: long long unsigned int format, oid_t arg (arg
> 6)
> fs/reiser4/key.c:157: warning: long long unsigned int format, __u64 arg (arg
> 7)
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/pool.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/tree_mod.o
> fs/reiser4/tree_mod.c: In function `new_node':
> fs/reiser4/tree_mod.c:62: warning: long long unsigned int format,
> reiser4_block_nr arg (arg 2)
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/estimate.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/carry.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/carry_ops.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/lock.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/tree.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/context.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/tap.o
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> CC [M] fs/reiser4/coord.o
> fs/reiser4/coord.c: In function `coords_equal':
> fs/reiser4/coord.c:598: error: duplicate case value
> fs/reiser4/coord.c:598: error: previously used here
> {standard input}: Assembler messages:
> {standard input}:5: Warning: setting incorrect section attributes for .got
> make[2]: *** [fs/reiser4/coord.o] Error 1
> make[1]: *** [fs/reiser4] Error 2
> make: *** [fs] Error 2
>
> Looking at fs/reiser4/debug.h suggest that this is something done on purpose
> to guard against other problems.
yes, "duplicated case value" is a result of our compile-time assertion if it fails.
But the assertion is wrong because the assumtion that struct coord has no
implicit padding is wrong on alpha.
> Gcc 3.3.4 on debian/alpha, reiser4-2004.06.24-19.36-linux-2.6.7 snapshot.
Thanks for the report
> --
> Jure Pe??ar
--
Alex.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: reiser4 on alpha
2004-06-26 6:41 ` Alex Zarochentsev
@ 2004-06-26 7:57 ` Jure Peèar
2004-06-29 16:38 ` Alex Zarochentsev
0 siblings, 1 reply; 4+ messages in thread
From: Jure Peèar @ 2004-06-26 7:57 UTC (permalink / raw)
To: reiserfs-list
On Sat, 26 Jun 2004 10:41:31 +0400
Alex Zarochentsev <zam@namesys.com> wrote:
> > {standard input}: Assembler messages:
> > {standard input}:5: Warning: setting incorrect section attributes for
> > .got
>
> Does only reiser4 produce the above warning?
No. I get these from various parts of the kernel, but are a lot less
frequent now on 2.6.7 than on previous kernels.
> > Looking at fs/reiser4/debug.h suggest that this is something done on
> > purpose to guard against other problems.
>
> yes, "duplicated case value" is a result of our compile-time assertion if
> it fails.
>
> But the assertion is wrong because the assumtion that struct coord has no
> implicit padding is wrong on alpha.
Do i undestrand that right, the fix is just to comment out the c1->pad line
there?
--
Jure Peèar
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: reiser4 on alpha
2004-06-26 7:57 ` Jure Peèar
@ 2004-06-29 16:38 ` Alex Zarochentsev
0 siblings, 0 replies; 4+ messages in thread
From: Alex Zarochentsev @ 2004-06-29 16:38 UTC (permalink / raw)
To: Jure Pe??ar; +Cc: reiserfs-list
On Sat, Jun 26, 2004 at 09:57:32AM +0200, Jure Pe??ar wrote:
> On Sat, 26 Jun 2004 10:41:31 +0400
> Alex Zarochentsev <zam@namesys.com> wrote:
>
> > > {standard input}: Assembler messages:
> > > {standard input}:5: Warning: setting incorrect section attributes for
> > > .got
> >
> > Does only reiser4 produce the above warning?
>
> No. I get these from various parts of the kernel, but are a lot less
> frequent now on 2.6.7 than on previous kernels.
>
> > > Looking at fs/reiser4/debug.h suggest that this is something done on
> > > purpose to guard against other problems.
> >
> > yes, "duplicated case value" is a result of our compile-time assertion if
> > it fails.
> >
> > But the assertion is wrong because the assumtion that struct coord has no
> > implicit padding is wrong on alpha.
>
> Do i undestrand that right, the fix is just to comment out the c1->pad line
> there?
you can remove the wrong caccert.
--
Alex.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-29 16:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-25 23:51 reiser4 on alpha Jure Peèar
2004-06-26 6:41 ` Alex Zarochentsev
2004-06-26 7:57 ` Jure Peèar
2004-06-29 16:38 ` Alex Zarochentsev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.