Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 1 May 2013 11:46:54 +0400
From: Vasily Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: PIE on x86_64

On Tue, Apr 30, 2013 at 21:36 +0400, Vasily Kulikov wrote:
> The only one package which fails to build as-is on x86_64 -- kernel.
> The -D__KERNEL__ check is present, though.  Will try to figure it out
> (likely, tomorrow).

Strange, %{DXXX:...} doesn't work in gcc specs file:

    vasya@...halot:~/src/gcc-test$ cat spec 
    *cc1:
    %(cc1_cpu) %{profile:-p} %{DABC:%eABC is used!} %{!DABC:%eABC is not %used!}

    vasya@...halot:~/src/gcc-test$ gcc -specs=spec -DABC -E -c -
    gcc: error: ABC is not used!

Probably the syntax of specs file or ability to process macros were
changed in gcc 4.x?

-- 
Vasily Kulikov
http://www.openwall.com - bringing security into open computing environments

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.