Skip to contentSkip to conversation

rewrite_parent_branch: Assertion `changed' failed

DISCUSSION Jiri Slaby 2 participants 4 messages Apr 7, 2008 Sparse checker

lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

Hi,

I got this from sparse:
CHECK /home/l/latest/xxx/net/mac80211/ieee80211.c
sparse: flow.c:804: rewrite_parent_branch: Assertion `changed' failed.
/bin/sh: line 1: 8639 Neúspěšně ukončen (SIGABRT) sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -D__x86_64__ -m64 -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.2.1/include -Wp,-MD,net/mac80211/.ieee80211.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.2.1/include -D__KERNEL__ -Iinclude -Iinclude2 -I/home/l/latest/xxx/include -include include/linux/autoconf.h -I/home/l/latest/xxx/net/mac80211 -Inet/mac80211 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ieee80211)" -D"KBUILD_MODNAME=KBUILD_STR(mac80211)" /home/l/latest/xxx/net/mac80211/ieee80211.c
make[3]: *** [net/mac80211/ieee80211.o] Error 134
make[2]: *** [net/mac80211] Error 2
make[1]: *** [net] Error 2
make: *** [sub-make] Error 2

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#1 lore raw
Quoted 22 lines · Jiri Slaby

Hi,

I got this from sparse:
CHECK /home/l/latest/xxx/net/mac80211/ieee80211.c
sparse: flow.c:804: rewrite_parent_branch: Assertion `changed' failed.
/bin/sh: line 1: 8639 Neúspěšně ukončen (SIGABRT) sparse

(quoted diff) +0 -3
-D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -D__x86_64__ 
-m64 -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.2.1/include 
-Wp,-MD,net/mac80211/.ieee80211.o.d -nostdinc -isystem 

/usr/lib64/gcc/x86_64-suse-linux/4.2.1/include -D__KERNEL__ -Iinclude -Iinclude2 -I/home/l/latest/xxx/include -include include/linux/autoconf.h -I/home/l/latest/xxx/net/mac80211

(quoted diff) +0 -10
-Inet/mac80211 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -Werror-implicit-function-declaration 
-O2 -fno-stack-protector -m64 -mtune=generic -mno-red-zone 
-mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args 
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare 
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow 
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g 
-Wdeclaration-after-statement -Wno-pointer-sign -DMODULE 
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ieee80211)" 
-D"KBUILD_MODNAME=KBUILD_STR(mac80211)" 
Quoted 5 lines

/home/l/latest/xxx/net/mac80211/ieee80211.c
make[3]: *** [net/mac80211/ieee80211.o] Error 134
make[2]: *** [net/mac80211] Error 2
make[1]: *** [net] Error 2
make: *** [sub-make] Error 2

f*ck, the hand is too fast.

It's 2.6.25-rc8-mm1 code. It's opensuse sparse-0.1-46, core from the crash is here:
http://www.fi.muni.cz/~xslaby/sklad/core.sparse.bz2

It seems like anything from net/mac80211/ fail to be checked. --
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 7 lines · Jiri Slaby
Quoted 6 lines · Jiri Slaby

Hi,

I got this from sparse:
CHECK /home/l/latest/xxx/net/mac80211/ieee80211.c
sparse: flow.c:804: rewrite_parent_branch: Assertion `changed' failed.
/bin/sh: line 1: 8639 Neúspěšně ukončen (SIGABRT) sparse

That's "unsuccessful finish", for those less knowledgeable in Slavic languages :-)

Quoted 3 lines

It's 2.6.25-rc8-mm1 code. It's opensuse sparse-0.1-46, core from the crash is here:
http://www.fi.muni.cz/~xslaby/sklad/core.sparse.bz2

If it's indeed version 0.1, I strongly suggest that you test the current git version, which is version 0.4.1 plus 10 or so patches.

git://git.kernel.org/pub/scm/linux/kernel/git/josh/sparse.git

Signature · 6 lines
Regards,
Pavel Roskin
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#3 lore raw
Quoted 7 lines · Pavel Roskin
Quoted 3 lines · Jiri Slaby

It's 2.6.25-rc8-mm1 code. It's opensuse sparse-0.1-46, core from the crash is here:
http://www.fi.muni.cz/~xslaby/sklad/core.sparse.bz2

If it's indeed version 0.1, I strongly suggest that you test the current git version, which is version 0.4.1 plus 10 or so patches.

Heh, what the hell, how old is it? A year and a half. I must admit I haven't noticed the version in the haste... Filing a bug, thanks.