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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 Apr 2012 22:17:07 +0200
From:	Geert Uytterhoeven <geert@...ux-m68k.org>
To:	Sam Ravnborg <sam@...nborg.org>
Cc:	Andi Kleen <ak@...ux.intel.com>, Andi Kleen <andi@...stfloor.org>,
	linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
	x86@...nel.org
Subject: Re: [PATCH 2/2] Add CONFIG_READABLE_ASM

Hi Sam,

On Thu, Apr 12, 2012 at 22:07, Sam Ravnborg <sam@...nborg.org> wrote:
> Could you try this:
>
> cc-disable-opt = $(call try-run,\
>        $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -f$(strip $(1)) -c -xc /dev/null -o "$TMP",-fno-$(strip $(1)))
>
> KBUILD_CFLAGS += $(call cc-disable-opt, ipa-cp-clone)
>
>
> It will try if "gcc -fipa-cp-clone" is supported,
> and add -fno-ipa-cp-clone in that case.

Unfortunately not:

m68k-linux-gnu-gcc -Wp,-MD,kernel/.bounds.s.d  -nostdinc -isystem
/usr/lib/gcc/m68k-linux-gnu/4.1.2/include
-I/scratch/geert/linux/linux-next/arch/m68k/include
Iarch/m68k/include/generated -Iinclude  -include
/scratch/geert/linux/linux-next/include/linux/kconfig.h -D__KERNEL__
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -Os -fno-reorder-blocks
-fno-ipa-cp-clone -pipe -fno-strength-reduce -ffixed-a2
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bounds)"
-D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o
kernel/bounds.s kernel/bounds.c
cc1: error: unrecognized command line option "-fno-ipa-cp-clone"
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
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