** Changed in: gcc-linaro
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/674146
Title:
dpkg segfaults during debootstrap on natty armel
--
ubuntu-bugs m
** Branch linked: lp:debian/experimental/gcc-4.5
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/674146
Title:
dpkg segfaults during debootstrap on natty armel
--
ubuntu-bugs mailing list
ubuntu-bug
This bug was fixed in the package dpkg - 1.15.8.6ubuntu1
---
dpkg (1.15.8.6ubuntu1) natty; urgency=low
* Resynchronise with Debian. Remaining changes:
- Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
- cputable: Set cpu to i686 for arch i386.
* Restor
I've restored optimisations to dpkg as of 1.15.8.6ubuntu1, just
uploaded.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/674146
Title:
dpkg segfaults during debootstrap on natty armel
--
ubuntu-bug
Issue is not with dpkg, but with gcc so change status for dpkg.
** Changed in: dpkg (Ubuntu Natty)
Status: Confirmed => Invalid
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
** Changed in: gcc-linaro
Milestone: None => 4.5-2010.12-0
** Changed in: gcc-linaro
Status: In Progress => Fix Committed
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bu
** Branch linked: lp:ubuntu/gcc-4.5
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
http
debootstrap was reverted three days ago already
debootstrap (1.0.25ubuntu2) natty; urgency=low
* revert addition of dummy Maintainer: and Description:, the LP bug #674146
is being worked around by dropping dpkg optimization on armel instead.
** Changed in: debootstrap (Ubuntu Natty)
This bug was fixed in the package gcc-4.5 - 4.5.1-10ubuntu3
---
gcc-4.5 (4.5.1-10ubuntu3) natty; urgency=low
* Update to SVN 20101126 (r167167) from the gcc-4_5-branch.
- Fix PR rtl-optimization/46571, PR target/31100, PR c/46547,
PR fortran/46638.
[ Matthias Klose ]
and the debootstrap change reverted after dpkg is rebuilt
** Changed in: debootstrap (Ubuntu Natty)
Status: Fix Released => Confirmed
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of U
dpkg should be rebuilt after the fixed gcc-4.5 is in the archive
** Changed in: dpkg (Ubuntu Natty)
Status: Fix Released => Confirmed
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of U
no regressions on x86_64/i686.
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://l
@cltang: thank you very much for identifying the cause+fix!
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bu
Tested with Matthias' gcc-4.5 (4.5.1-10ubuntu3): when compiling with
"-O2" seg fault no longer observed.
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to U
with the backport of PR44768, this looks better:
--- parsehelp.s 2010-11-26 15:19:47.0 +
+++ ../parsehelp.s 2010-11-26 15:08:31.0 +
@@ -208,16 +208,15 @@
.thumb_func
.type parse_error_msg.clone.1, %function
parse_error_msg.clone.1:
- @ Volatile
** Changed in: gcc-linaro
Status: Triaged => In Progress
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubunt
** Branch linked: lp:~cltang/gcc-linaro/lp-674146-dpkg-segfault
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubunt
This seems to be a case of PR44768,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44768
Basically, early IPA SRA did not properly set up context, causing the
parse_error_msg.clone.1 function getting marked as 'volatile' (no return), thus
assuming callee-save registers can be clobbered...
Mainline
** Changed in: gcc-linaro
Assignee: (unassigned) => Chung-Lin Tang (cltang)
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs m
Note that the above is the same as Colin Watson's diagnosis. Attached
is the preprocessed source that shows the problem when compiled with gcc
-O2.
** Attachment added: "Preprocessed source"
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/674146/+attachment/1742924/+files/parsehelp.i.gz
This appears to be a compiler bug. Using plain gcc-
linaro-4.5-2010.11-1, parse_warn includes the following assembly:
266: f7ff fffe bl 0
266: R_ARM_THM_CALL dcgettext
26a: 4632mov r2, r6
26c: f104 0108 add.w r1, r4, #8
270
Also occurs with plain Linaro GCC 4.5-2010.11-1.
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ub
@ James Hunt
Trying to reproduce -O1 or -O2 by listing a set of optimization flags is
invalid.
a) most optimization flags are no-ops at the default -O0 (optimization
disabled);
b) There are some optimizations that are enabled at a given optimization
level, but do not have a named flag.
However,
** Also affects: gcc-linaro
Importance: Undecided
Status: New
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing li
If this is a compiler bug, then we should have a task open for the
compiler so we can get this fixed as well.
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
** Also affects: gcc-4.5 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: gcc-4.5 (Ubuntu Natty)
Status: New => Confirmed
** Changed in: gcc-4.5 (Ubuntu Natty)
Importance: Undecided => High
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.n
The plot thickens...
Noted that "-O1" does not cause SIGSEGV with gcc-4.5. Confirmed that the
equivalent set of gcc options for "-O1"...
gcc-4.5 -Q -O1 --help=optimizers|grep enabled|awk '{print $1}'|tr '\n'
' '
... does not cause SIGSEGV. However, it appears that "-O2" is not the
same as...
This bug was fixed in the package dpkg - 1.15.8.5ubuntu2
---
dpkg (1.15.8.5ubuntu2) natty; urgency=low
* debian/rules: Disabled compiler optimizations on arch "armel" (LP: #674146)
This is a temporary work-around until we can identify the cause of the
stack corruption and su
** Branch linked: lp:ubuntu/dpkg
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https:/
** Tags added: patch
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubunt
** Patch added: "temporary fix to build dpkg without optimizations on armel"
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/674146/+attachment/1735325/+files/dpkg-gcc-optimization-bug-workaround-armel.patch
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/b
Colin, I confirmed that the debootstrap change fixed debootstrap on
armel; without the change, debootstrap still fails. So dpkg is running
similar consistency checks as dpkg-query -l.
The debootstrap output is:
I: Installing core packages...
W: Failure trying to run: dpkg --force-depends --insta
while i agree with colin, it helps the arm team to have daily builds again.
i was assuming that the debootstrap change is only meant as temporary fix.
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a me
** Changed in: dpkg (Ubuntu Natty)
Status: Triaged => In Progress
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing l
Update:
- dmalloc shows up nothing.
- memcpy() calls seem legitimate after checking with an interpositioning tool.
I've attempted both a top-down and bottom-up approach to hone in on this
issue:
- I've attempted to stimulate a segv by writing an app doing "similar" things
to "dpkg -l" but no jo
Loïc, I'm not sure I'm happy about this debootstrap change. 'dpkg -l'
was just an artificial test case: 'dpkg -i', which is the thing that
debootstrap actually calls, doesn't require Description and Maintainer
fields. I think we should keep debootstrap's status file strictly
minimal.
--
dpkg se
** Branch linked: lp:ubuntu/debootstrap
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
This bug was fixed in the package debootstrap - 1.0.25ubuntu1
---
debootstrap (1.0.25ubuntu1) natty; urgency=low
* scripts/gutsy, scripts/sid: add dummy Maintainer: and Description: to the
dpkg status file entry for dpkg as to avoid dpkg -l warnings; LP: #674146.
-- Loic Minier
** Also affects: debootstrap (Ubuntu)
Importance: Undecided
Status: New
** Changed in: debootstrap (Ubuntu Natty)
Assignee: (unassigned) => Loïc Minier (lool)
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notificat
I've built Ubuntu's dpkg under Debian sid + experimental
gcc-4.5/g++-4.5/deps again, but without touching the flags and I get a
similar corruption as with Ubuntu's gcc-4.5.
NB: I get some weird build failures in the Debian chroot like:
dpkg-shlibdeps: error: no dependency information found for /li
BTW I wanted to share my setup a bit:
I'm creating qemu-arm-static chroots with:
sudo qemu-debootstrap --arch=armel --variant=minbase sid sid-armel
http://mirror/debian
and chrooting into them with plain "chroot sid-armel /bin/bash" to build
+ run binaries.
To debug, I'm using the armel cross gd
Because there were sprintf/strcat etc. calls around, I tried rebuilding
dpkg with -fno-stack-protector -U_FORTIFY_SOURCE, but this didn't help;
parse_error_msg corrupts r6 instead of r8.
With a corrupted status file and Debian sid's dpkg I would get for instance:
warning, in file '/var/lib/dpkg/st
Linaro, please could you have a look?
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
ht
before bisecting, maybe recheck with
- gcc-4.5 from debian experimental (using -march=armv7-a)
- gcc-4.5 from natty using -march=armv5t
** Tags added: armel
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because yo
Thanks, James! You're right that sometimes optimisation changes can
simply expose application bugs, but in this case I agree with you that
this appears to be a compiler bug. I did a little bit of single-
stepping through parse_warn once you pointed that out as the place where
everything was going
I may be heading down the wrong path, but essentially the summary so far
is:
- building dpkg with gcc-4.5 with -O2 results in SIGSEGV behaviour
- building dpkg with gcc-4.5 with -O0 results in correct behaviour
- building dpkg with gcc-4.4 with -O2 results in correct behaviour
- building dpkg with
To be clear, building with "-O2" and gcc-4.5 (4.5.1-9ubuntu1) causes the
crash.
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs ma
Problem is caused by gcc optimizations ("-O2"). Building without
optimizations using DEB_BUILD_OPTIONS="nostrip noopt" and gcc-4.5
(4.5.1-9ubuntu1) results in expected behaviour of "dpkg-query -l".
This looks like a bug in gcc since a rebuild using gcc-4.4
(4.4.5-2ubuntu1) *with* "-O2" gives expec
James, try the valgrind in:
https://launchpad.net/~linaro-maintainers/+archive/overlay/+packages
it's a more recent snapshot with fairly complete ARM support
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you
Confirmed problem exists with version dpkg 1.15.8.5ubuntu1 (armel).
Certainly appears to be armel specific at this point (this version of
dpkg works fine on i386, AMD64, PPC).
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notifica
There do appear to be potentially 2 problems here:
1) the issue whereby /var/lib/dpkg/status is somehow truncated
"dpkg-query -l" indeed expects to find the following fields for a
package as a minimum:
name, description, maintainer, version, status (required to actually
get any output fr
** Changed in: dpkg (Ubuntu Natty)
Assignee: (unassigned) => James Hunt (jamesodhunt)
** Changed in: dpkg (Ubuntu Natty)
Status: New => Triaged
--
dpkg segfaults during debootstrap on natty armel
https://bugs.launchpad.net/bugs/674146
You received this bug notification because you ar
52 matches
Mail list logo