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:	Mon, 15 Mar 2010 20:08:08 +1300
From:	Michael Cree <mcree@...on.net.nz>
To:	linux-kernel@...r.kernel.org
CC:	linux-alpha@...r.kernel.org
Subject: Alpha:  Compilation error 2.6.34-rc1 git a3d3203e4b

Compilation error while compiling latest kernel (commit a3d3203e4b) on 
Alpha:

   CC      init/do_mounts.o
In file included from 
/home/mjc/linux/linux-git/arch/alpha/include/asm/dma-mapping.h:13,
                  from include/linux/dma-mapping.h:103,
                  from 
/home/mjc/linux/linux-git/arch/alpha/include/asm/pci.h:7,
                  from include/linux/pci.h:1209,
                  from 
/home/mjc/linux/linux-git/arch/alpha/include/asm/core_tsunami.h:5,
                  from 
/home/mjc/linux/linux-git/arch/alpha/include/asm/io.h:229,
                  from include/linux/scatterlist.h:8,
                  from include/linux/sunrpc/xdr.h:15,
                  from include/linux/sunrpc/sched.h:17,
                  from include/linux/sunrpc/auth.h:14,
                  from include/linux/nfs_fs.h:47,
                  from init/do_mounts.c:19:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_sg_attrs’:
include/asm-generic/dma-mapping-common.h:49: error: implicit declaration 
of function ‘for_each_sg’
include/asm-generic/dma-mapping-common.h:50: error: expected ‘;’ before 
‘kmemcheck_mark_initialized’
make[1]: *** [init/do_mounts.o] Error 1

I note that for_each_sg is defined in include/linux/scatterlist.h, which 
arch/alpha/include/asm/dma-mapping.h attempts to load, however 
include/linux/scatterlist.h was the one that included (indirectly) 
arch/alpha/include/asm/dma-mapping.h.  There is therefore a complete 
loop of includes from include/linux/scatterlist.h back to itself.

Cheers
Michael.
--
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