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: <f6634898-357b-0c9b-ac22-8e0ca225b290@arm.com>
Date:   Mon, 2 Oct 2017 12:20:54 +0100
From:   Julien Grall <julien.grall@....com>
To:     Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc:     Michal Marek <mmarek@...e.com>,
        Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Fail to build Linux with O= in master

Hello,

On 30/09/17 01:37, Masahiro Yamada wrote:
> 2017-09-30 8:59 GMT+09:00 Julien Grall <julien.grall@....com>:
>> Hello,
>>
>> I have tried to build the latest master and got the following error:
>>
>> 42sh> make O=~/works/linux-build/aarch64-4k -C ~/works/linux
>> make: Entering directory '/home/julgra01/works/linux'
>> Makefile:135: *** failed to create output directory "~/works/linux-build/aarch64-4k".  Stop.
>> make: Leaving directory '/home/julgra01/works/linux'
>>
>> The bisector found the commit 8e9b466 "kbuild: use $(abspath ...)
>> instead of $(shell cd ... && /bin/pwd)".
>>
>> Looking at the code, it seems that it is because the code is
>> now using $(realpath ...). Indeed when I replace ~ by $HOME
>> the kernel is now built.
>>
>> I am not a Makefile expert, so I would appreciate if anyone
>> could suggest a patch for this.
>>
> 
> Thanks for the report.
> 
> Which shell are you using?

I am using dash.

> 
> I use bash and I have no problem.
> If I try dash, indeed, it fails.
> 
> I will take a look.

Thank you!

Cheers,

-- 
Julien Grall

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ