lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 8 Feb 2008 01:13:50 +0200
From:	Adrian Bunk <bunk@...nel.org>
To:	Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc:	linux-kernel@...r.kernel.org, dhowells@...hat.com
Subject: frv cmpxchg_local compile error

Commit 14e0cb3c60b89c4a2512852ffc18601c72314a0f broke frv compilation:

<--  snip  -->

...
  CC      arch/frv/kernel/asm-offsets.s
In file included from include/asm/system.h:271,
                 from include/asm/bitops.h:19,
                 from include/linux/bitops.h:17,
                 from include/linux/kernel.h:15,
                 from include/linux/sched.h:52,
                 from arch/frv/kernel/asm-offsets.c:7:
include/asm-generic/cmpxchg-local.h: In function '__cmpxchg_local_generic':
include/asm-generic/cmpxchg-local.h:23: error: implicit declaration of function 'typecheck'
include/asm-generic/cmpxchg-local.h:23: error: expected expression before 'unsigned'
include/asm-generic/cmpxchg-local.h:23: error: expected expression before 'unsigned'
include/asm-generic/cmpxchg-local.h:44: error: expected expression before 'unsigned'
include/asm-generic/cmpxchg-local.h: In function '__cmpxchg64_local_generic':
include/asm-generic/cmpxchg-local.h:57: error: expected expression before 'unsigned'
include/asm-generic/cmpxchg-local.h:57: error: expected expression before 'unsigned'
include/asm-generic/cmpxchg-local.h:61: error: expected expression before 'unsigned'
In file included from include/asm/bitops.h:19,
                 from include/linux/bitops.h:17,
                 from include/linux/kernel.h:15,
                 from include/linux/sched.h:52,
                 from arch/frv/kernel/asm-offsets.c:7:
include/asm/system.h: In function '__cmpxchg_local':
include/asm/system.h:279: error: variable or field '__xg_orig' declared void
include/asm/system.h:279: error: variable or field '__xg_test' declared void
include/asm/system.h:279: error: variable or field '__xg_new' declared void
include/asm/system.h:279: error: void value not ignored as it ought to be
make[1]: *** [arch/frv/kernel/asm-offsets.s] Error 1

<--  snip  -->


An architecture specific patch that breaks the one architecture it 
touches at the first file being compiled is even for kernel standards 
unusually bad...


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ