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>] [day] [month] [year] [list]
Message-ID: <556DBDA5.2000209@redhat.com>
Date:	Tue, 02 Jun 2015 16:28:53 +0200
From:	than <than@...hat.com>
To:	linux-kernel@...r.kernel.org
CC:	benh@...nel.crashing.org, mpe@...erman.id.au,
	Dan HorĂ¡k <dhorak@...hat.com>
Subject: no 32-bit support on LE powerpc64le

Hello all,

we have a problem to build kernel-4.0 on ppc64le. The real problem is 
that there's no 32 bit code generator support in gcc on the ppc64le.
So the option NO_PERF_READ_VDSO32 should be set to 1 on ppc64le.

I have create a patch which fixes the issue for me.

diff -Nur linux-4.0/tools/perf/config/Makefile.than linux-4.0/tools/perf/config/Makefile
--- linux-4.0/tools/perf/config/Makefile.than   2015-06-02 11:58:17.525763988 +0200
+++ linux-4.0/tools/perf/config/Makefile        2015-06-02 12:31:04.898865043 +0200
@@ -642,6 +642,9 @@
      CFLAGS += -DHAVE_KVM_STAT_SUPPORT
  endif
  
+ifeq ($(ARCH),ppc64le)
+  NO_PERF_READ_VDSO32 := 1
+endif
  ifeq (${IS_64_BIT}, 1)
    ifndef NO_PERF_READ_VDSO32
      $(call feature_check,compile-32)


For more infos please take a look at 
https://bugzilla.redhat.com/show_bug.cgi?id=1227260

Thanks,

Best Regards,
Than
--
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