Re: [PATCH 2/2] run-strip-reloc.sh: Skip debug file check for riscv

2018-07-17 Thread Mark Wielaard
On Tue, 2018-07-17 at 12:09 +0200, Andreas Schwab wrote: > It would probably help to update the build instructions to force > debug > builds by adding CONFIG_DEBUG_INFO=y. Yes, good idea, added that and updated the test file. Thanks, MarkFrom c1d7a08c990a13472b64281dbf79b13fb74f9e5a Mon Sep 17 0

Re: [PATCH 2/2] run-strip-reloc.sh: Skip debug file check for riscv

2018-07-17 Thread Andreas Schwab
On Jul 17 2018, Mark Wielaard wrote: > If you could regenerate the file with -g so that it does contain .debug > sections that would help us fix the testcase. It would probably help to update the build instructions to force debug builds by adding CONFIG_DEBUG_INFO=y. Andreas. -- Andreas Schwa

Re: [PATCH 2/2] run-strip-reloc.sh: Skip debug file check for riscv

2018-07-17 Thread Andreas Schwab
On Jul 17 2018, Ulf Hermann wrote: > My first patch removes all temporary files at the beginning of runtest() > which exposes this. Thanks, I see the failure now. Here is the updated module: hello_riscv64.ko.bz2 Description: BZip2 compressed data Andreas. -- Andreas Schwab, SUSE Labs, sch

Re: [PATCH 2/2] run-strip-reloc.sh: Skip debug file check for riscv

2018-07-17 Thread Mark Wielaard
On Tue, 2018-07-17 at 11:29 +0200, Andreas Schwab wrote: > On Jul 17 2018, Mark Wielaard wrote: > > The issue is that hello_riscv64.ko doesn't contain any debug > > sections. > > So strip doesn't produce a separate debug file. > > > > Andreas, could you provide an updated hello_riscv64.ko that is

Re: [PATCH 2/2] run-strip-reloc.sh: Skip debug file check for riscv

2018-07-17 Thread Andreas Schwab
On Jul 17 2018, Mark Wielaard wrote: > On Mon, Jul 16, 2018 at 12:02:17PM +0200, Ulf Hermann wrote: >> strip does not produce debug files for riscv binaries. If this is a bug >> it needs to be fixed in strip, but for now, we disable the tests. > > The issue is that hello_riscv64.ko doesn't contai

Re: [PATCH 2/2] run-strip-reloc.sh: Skip debug file check for riscv

2018-07-16 Thread Mark Wielaard
On Mon, Jul 16, 2018 at 12:02:17PM +0200, Ulf Hermann wrote: > strip does not produce debug files for riscv binaries. If this is a bug > it needs to be fixed in strip, but for now, we disable the tests. The issue is that hello_riscv64.ko doesn't contain any debug sections. So strip doesn't produce