[Touch-packages] [Bug 1843479]

2021-06-03 Thread Wintheiser-durward
There's a missing range check when decoding the LDST instruction. https://bubbleshooter.io/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu E

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2020-02-23 Thread Bug Watch Updater
** Changed in: binutils Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format

[Touch-packages] [Bug 1843479]

2020-02-23 Thread Alan Modra
Closing -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format error on WSL1 Status in binutils: Fix Released Status

[Touch-packages] [Bug 1843479]

2020-02-23 Thread D-i-j
Can be closed now. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format error on WSL1 Status in binutils: Fix Relea

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2020-01-12 Thread Launchpad Bug Tracker
This bug was fixed in the package binutils - 2.33-2ubuntu1.2 --- binutils (2.33-2ubuntu1.2) eoan; urgency=medium * Rebuild for the -security pocket binutils (2.33-2ubuntu1.1) eoan; urgency=medium * Cherry-pick from binutils master branch: PR25237, set no file contents PT_LOA

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-20 Thread Mathew Hodson
** Changed in: binutils (Ubuntu) Importance: Undecided => Medium ** Changed in: binutils (Ubuntu Eoan) Importance: Undecided => Medium ** Changed in: gzip (Ubuntu Eoan) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded p

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-20 Thread Balint Reczey
Verified binutils 2.33-2ubuntu1.2 by rebuilding gzip in the Bileto PPA with new binutils and checking the rebuilt gzip binary: root@ee-dwz:~# wget https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3878/+build/18334107/+files/gzip_1.10-0ubuntu3.1_amd64.deb --2019-12-20 17:50:02-- https

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-20 Thread Steve Langasek
Hello Hayden, or anyone else affected, Accepted binutils into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/binutils/2.33-2ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-19 Thread Balint Reczey
** Description changed: IMPORTANT: Binutils was accidentally built in -proposed instead of in a PPA. I'm rebuilding it in https://launchpad.net/~ci-train-ppa- - service/+archive/ubuntu/3876 for the -security pocket. + service/+archive/ubuntu/3877 for the -security pocket. [Impact]  *

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-19 Thread Łukasz Zemczak
So the binutils upload will need to be re-built against security and pushed to the -security pocket additionally to the -updates pocket, otherwise all the future potential gzip security updates would revert this fix here. Balint is preparing the rebuild, but I think ubuntu- security should be notif

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-19 Thread Launchpad Bug Tracker
This bug was fixed in the package gzip - 1.10-0ubuntu3.1 --- gzip (1.10-0ubuntu3.1) eoan; urgency=high * Rebuild with binutils 2.33-2ubuntu1.1 (LP: #1843479) - Build-depend on binutils (>= 2.33-2ubuntu1.1) -- Balint Reczey Fri, 13 Dec 2019 16:41:46 +0100 ** Changed in: gzip

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-19 Thread Łukasz Zemczak
(actually, I don't think security needs to be notified, so scratch that) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec

[Touch-packages] [Bug 1843479] Update Released

2019-12-19 Thread Łukasz Zemczak
The verification of the Stable Release Update for gzip has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a reg

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-19 Thread Balint Reczey
** Description changed: + IMPORTANT: Binutils was accidentally built in -proposed instead of in a + PPA. I'm rebuilding it in https://launchpad.net/~ci-train-ppa- + service/+archive/ubuntu/3876 for the -security pocket. + [Impact] - * Running gzip on WSL1 results in the following error: -

[Touch-packages] [Bug 1843479]

2019-12-19 Thread Balint Reczey
Created attachment 12121 Updated patch bases on mailing list comments -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec fo

[Touch-packages] [Bug 1843479]

2019-12-19 Thread Cvs-commit
The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils- gdb.git;h=0bc3450e220a4fb29f931ada84b546ce8993e85e commit 0bc3450e220a4fb29f931ada84b546ce8993e85e Author: Alan Modra Date: Fri Dec 13 16:14:57 2019 +1030 Set no file contents PT_LOAD p_of

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-17 Thread Balint Reczey
Verified gzip 1.10-0ubuntu3.1 rebuilt with binutils (2.33-2ubuntu1.1): root@ee-motd-verify:~# dpkg -l gzip Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-16 Thread Launchpad Bug Tracker
This bug was fixed in the package gzip - 1.10-0ubuntu4 --- gzip (1.10-0ubuntu4) focal; urgency=high * Rebuild with binutils 2.33.1-6ubuntu1 (LP: #1843479) - Build-depend on binutils (>= 2.33.1-6ubuntu1) * Pass -fstack-protector to mingw build to fix FTBFS -- Balint Reczey

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-16 Thread Łukasz Zemczak
Hello Hayden, or anyone else affected, Accepted gzip into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gzip/1.10-0ubuntu3.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubu

[Touch-packages] [Bug 1843479] Autopkgtest regression report (binutils/2.33-2ubuntu1.1)

2019-12-15 Thread Ubuntu SRU Bot
All autopkgtests for the newly accepted binutils (2.33-2ubuntu1.1) for eoan have finished running. The following regressions have been reported in tests triggered by the package: glibc/2.30-0ubuntu2 (amd64) Please visit the excuses page listed below and investigate the failures, proceeding aft

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-13 Thread Launchpad Bug Tracker
This bug was fixed in the package binutils - 2.33.1-6ubuntu1 --- binutils (2.33.1-6ubuntu1) focal; urgency=medium * Merge with Debian; remaining changes: - Build from upstream sources. - Don't generate control file entries for any native mips* packages. * Cherry-pick from

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-13 Thread Steve Langasek
Hello Hayden, or anyone else affected, Accepted binutils into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/binutils/2.33-2ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-13 Thread Balint Reczey
** Description changed: + [Impact] + + * Running gzip on WSL1 results in the following error: +$ gzip +-bash: /bin/gzip: cannot execute binary file: Exec format error + * The error occurs frequently in package updates and makes gzip inoperable on WSL1 + * The problem is caused by PT_L

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-08 Thread Balint Reczey
I've forwarded the binutils patch to the mailing list, too: https://sourceware.org/ml/binutils/2019-12/msg00104.html . -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-08 Thread Balint Reczey
The offset pointing past EOF is observed only in gzip and in several debug files: $ grep -v dbg wrong-offsets gzip_1.10-0ubuntu3_amd64.deb: /bin/gzip libhugetlbfs-tests_2.21-0ubuntu1_amd64.deb: /usr/lib/libhugetlbfs/tests/obj64/xB.linkhuge libhugetlbfs-tests_2.21-0ubuntu1_amd64.deb: /usr/lib/li

[Touch-packages] [Bug 1843479]

2019-12-03 Thread Balint Reczey
Created attachment 12101 Patch adjusting offset honoring page alignment In my test with the previous patch p_offset mod page_size indeed did not match p_vaddr mod page_size. However the tested binary (gzip) worked ok, but I see that it is not guaranteed to work everywhere. This newer patch ensure

[Touch-packages] [Bug 1843479]

2019-12-02 Thread Alan Modra
Well, yes, but patches can be posted to binut...@sourceware.org without a bugzilla open. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan

[Touch-packages] [Bug 1843479]

2019-12-02 Thread Balint Reczey
(In reply to Alan Modra from comment #3) > (In reply to Balint Reczey from comment #2) > > Did I miss something? > > You did. By subtracting off_adjust from the value written to p_offset you > potentially have p_offset mod page_size != p_vaddr mod page_size. > > This will fail the glibc test in

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-02 Thread Bug Watch Updater
** Changed in: binutils Status: Won't Fix => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format err

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-12-01 Thread Bug Watch Updater
** Changed in: binutils Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format error on

[Touch-packages] [Bug 1843479]

2019-12-01 Thread Alan Modra
(In reply to Balint Reczey from comment #2) > Did I miss something? You did. By subtracting off_adjust from the value written to p_offset you potentially have p_offset mod page_size != p_vaddr mod page_size. This will fail the glibc test in elf/dl-load.c resulting in "ELF load command address/of

[Touch-packages] [Bug 1843479]

2019-12-01 Thread Balint Reczey
It seemed to me that the changed adjustment later is still valid, honoring alignment. Did I miss something? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to binutils in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title:

[Touch-packages] [Bug 1843479]

2019-12-01 Thread Alan Modra
It looks to me like your fix ignores the following comment, and will therefore cause problems with other loaders. /* We shouldn't need to align the segment on disk since the segment doesn't need file space, but the gABI arguably requires the alignmen

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-11-30 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at https://sourceware.org/bugzilla/show_bug.cgi?id=25237. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://h

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-11-30 Thread Balint Reczey
** Bug watch added: Sourceware.org Bugzilla #25237 https://sourceware.org/bugzilla/show_bug.cgi?id=25237 ** Also affects: binutils via https://sourceware.org/bugzilla/show_bug.cgi?id=25237 Importance: Unknown Status: Unknown -- You received this bug notification because you are a

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-11-30 Thread Balint Reczey
While this is a bug in WSL's ELF loader I located to problem in binutil's strip and after the fix passed my testing I'll send it upstream and also SRU it to Eoan to let us rebuild affected packages. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, wh

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-11-30 Thread Balint Reczey
** Also affects: binutils (Ubuntu) Importance: Undecided Status: New ** Changed in: binutils (Ubuntu) Status: New => In Progress ** Changed in: binutils (Ubuntu) Assignee: (unassigned) => Balint Reczey (rbalint) ** Changed in: gzip (Ubuntu) Status: Invalid => In Prog

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-10-01 Thread Sebastien Bacher
Thanks Hayden, closing ** Changed in: gzip (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gzip in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan res

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-09-30 Thread Hayden Barnes
This was determined to be a bug in the WSL1 ELF loader and fix is inbound from the WSL side. https://github.com/microsoft/WSL/issues/4461#issuecomment-536023805 Please close on Ubuntu. ** Bug watch added: github.com/microsoft/WSL/issues #4461 https://github.com/microsoft/WSL/issues/4461 -- Y

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-09-23 Thread Hayden Barnes
>From the WSL issues page: > Now, thing is, all of the new binaries (f.e. /bin/ls) have that .plt.sec section also, and they work just fine. Also compiling a hello.c with -fcf-protection works. Because of course it does. The only other new section in there (Disco gzip has 27 sections, Eoan has 29)

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-09-11 Thread Stephen Kitt
I tried comparing the binaries with diffoscope, and one difference which jumped out at me is the .plt.sec section which is present in the Eoan binary. This presumably comes from CET (gcc -fcf-protection). There are other differences, less significant IMO; .plt.sec is a likely candidate for somethin

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-09-11 Thread Sebastien Bacher
** Changed in: gzip (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gzip in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format error o

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-09-11 Thread Sebastien Bacher
** Tags added: wsl -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gzip in Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format error on WSL1 Status in gzip package in Ubuntu:

[Touch-packages] [Bug 1843479] Re: gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-09-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gzip (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gzip in Ubuntu. https://bugs.launchpad.net/bug

[Touch-packages] [Bug 1843479] [NEW] gzip in Ubuntu Eoan results in Exec format error on WSL1

2019-09-10 Thread Hayden Barnes
Public bug reported: Summary: Running gzip on WSL1 results in the following error: $ gzip -bash: /bin/gzip: cannot execute binary file: Exec format error What I expect to happen: gzip executes correctly on WSL1. What happens instead: gzip fails with an Exec format error. Notes: I suspect a