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-prev] [day] [month] [year] [list]
Message-ID: <201805310504.NNwSQ9cD%fengguang.wu@intel.com>
Date:   Thu, 31 May 2018 05:42:06 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Christophe Leroy <christophe.leroy@....fr>
Cc:     kbuild-all@...org,
        Benjamin Herrenschmidt <benh@...nel.crashing.org>,
        Paul Mackerras <paulus@...ba.org>,
        Michael Ellerman <mpe@...erman.id.au>,
        Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
        linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/cell: fix build failure by disabling
 attribute-alias warning

Hi Christophe,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.17-rc7 next-20180530]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc-cell-fix-build-failure-by-disabling-attribute-alias-warning/20180531-003218
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

>> arch/powerpc/platforms/cell/spu_syscalls.c:71:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas]
    #pragma GCC diagnostic ignored "-Wattribute-alias"
                                   ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +71 arch/powerpc/platforms/cell/spu_syscalls.c

    69	
    70	#pragma GCC diagnostic push
  > 71	#pragma GCC diagnostic ignored "-Wattribute-alias"
    72	SYSCALL_DEFINE4(spu_create, const char __user *, name, unsigned int, flags,
    73		umode_t, mode, int, neighbor_fd)
    74	{
    75		long ret;
    76		struct spufs_calls *calls;
    77	
    78		calls = spufs_calls_get();
    79		if (!calls)
    80			return -ENOSYS;
    81	
    82		if (flags & SPU_CREATE_AFFINITY_SPU) {
    83			struct fd neighbor = fdget(neighbor_fd);
    84			ret = -EBADF;
    85			if (neighbor.file) {
    86				ret = calls->create_thread(name, flags, mode, neighbor.file);
    87				fdput(neighbor);
    88			}
    89		} else
    90			ret = calls->create_thread(name, flags, mode, NULL);
    91	
    92		spufs_calls_put(calls);
    93		return ret;
    94	}
    95	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (23378 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ