This bug was fixed in the package binutils - 2.21.0.20110327-2ubuntu3
---
binutils (2.21.0.20110327-2ubuntu3) natty-proposed; urgency=medium
* Cortex A8 workarounds for PLT tail calls (Richard Sandiford). LP: #774175.
-- Matthias Klose d...@ubuntu.com Sun, 08 May 2011 03:00:48
Merged bug 745843 as a dupe of this one; tested that the natty proposed
binutils package fixes vtk's FTBFS.
Dave
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel
On Thu, May 19, 2011 at 08:39:13AM -, Dr. David Alan Gilbert wrote:
Merged bug 745843 as a dupe of this one; tested that the natty proposed
binutils package fixes vtk's FTBFS.
Based off your comment it sounds like the verification of the fix in the
proposed package has been completed. If
** Tags added: verification-done
** Tags removed: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
Do we have evidence that this also breaks stuff in natty? Making a
change to such a central piece of toolchain in an SRU bears a lot of
regression potential, so it should only be considered if it fixes
actually known bugs.
** Changed in: binutils (Ubuntu Natty)
Status: In Progress =
Well we originally found this in a Natty ftbfs in bug 745843 (vtk), so
yes it breaks something - whether it breaks anything important however
is a different matter; it's a bit of a timebomb - it's a case of a
branch landing on a particular boundary under certain conditions and you
never know what
** Changed in: binutils (Ubuntu Natty)
Status: Incomplete = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs
Accepted binutils into natty-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!
** Tags added: verification-needed
--
** Branch linked: lp:ubuntu/natty-proposed/binutils
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
fixed in 2.21.51.20110421-0ubuntu5
** Changed in: gcc-4.6 (Ubuntu Oneiric)
Status: Confirmed = Invalid
** Changed in: binutils (Ubuntu Oneiric)
Status: New = Fix Released
** Also affects: apt (Ubuntu Natty)
Importance: Undecided
Status: New
** Also affects: binutils
apt rebuilt in oneiric
** Changed in: apt (Ubuntu Oneiric)
Status: Confirmed = Fix Released
** Changed in: binutils (Ubuntu Natty)
Status: New = In Progress
** Changed in: gcc-4.6 (Ubuntu Natty)
Status: New = Invalid
--
You received this bug notification because you are a
This should be fixed by Richard's patch here:
http://sourceware.org/ml/binutils/2011-04/msg00177.html
It's probably worth pulling it in relatively quickly since this bug
could trigger on anything else.
Dave
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
OK, I think I've got it - it certainly smells like a linkerism but I
didn't want to blame it until I actually found the bad code, but I
believe it's another instance of bug 745843 - a problem with the fixup
for the cortex-a8 branch erratum:
In the bad build we have:
00021fe0
Interesting. I just built apt-0.8.14.1ubuntu2 on Maverick using the
plain gcc-linaro-4.6-2011.04 compiler and build/bin/apt-cache runs OK.
The plain compiler doesn't have the stack protector or fortify turned on
by default.
--
You received this bug notification because you are a member of
Changing the source slightly to use a constant that fits in 1 byte,
leads to correct code. (In the function not in the macro, see below
diff, so the code is only different in one place).
A movs instruction is generated for 200, whereas for 400 it is a mov.w
and then a nop at the end of the
Building with
-O1 works
-O1 -finline-small-functions -fpeephole2 -freorder-functions -fschedule-insns
failsRemoving any of these options and it works.
-O2 fails
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Compiling with -O1 -finline-small-functions -fpeephole2 -freorder-
functions -fschedule-insns fails, but removing the -freorder-functions
works.
The only difference in the assembler files produces is a set of section
directives:
diff error.S.noreorder error-bad.S
503a504
.section
The segault doesn't show with a gcc-4.6 build with the Linaro changes
disabled, the test build can be found at:
deb http://people.canonical.com/~doko/tmp/gcc-4.6-armel/ ./
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Also affects: gcc-4.6 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: gcc-4.6 (Ubuntu Oneiric)
Importance: Undecided = High
** Changed in: gcc-4.6 (Ubuntu Oneiric)
Status: New = Confirmed
** Changed in: gcc-4.6 (Ubuntu Oneiric)
Milestone: None =
The miscompiled file is apt-pkg/contrib/error.cc which , the one that contains
the varargs using functions in the backtrace.
Compiling that object with gcc 4.5 -O2, gcc 4.6 at -O0 or -O1 results in good
code generated.
Using gcc 4.6 at -O2 causes a segfault.
I'll provide more info shortly.
--
Observation (which may or may not be relevant):
It doesn't seem to get anywhere near main or libc startup (gdb break on main
or __start or anything like that just doesn't stop).
Break'ing on _GLOBAL__sub_I_error.cc does stop and is an initialisation
routine from the error.cc which is known to
I put the error.o generated by Linaro Gcc 4.6 and Debian Unstable Gcc
4.6 here , along with a diff of the two objdumps.
http://people.ubuntu.com/~jani/
Putting the Debian generated object in the build tree results in a
correctly functioning lib in Ubuntu.
--
You received this bug notification
Ah my bad, I forgot to add -mthumb to the Debian build. Added now and updated
the files (.sid.thumb)
Now the diff is better.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt
Upgraded a panda to Oneiric with apt pinned to natty.
Rebuilt apt without optimization and the resulting deb works - libapt-pkg-4.10
does not crash anymore (it is this lib that the APT utils depend link against
and the one with the origin of the backtrace)
Can be reproduced by getting the
the eglibc 2.13-0ubuntu15 build shows some regressions in the testsuite,
compared to 2.13-0ubuntu13. Built using g++-4.5 (apt is built using the
default g++). Before uploading a apt without optimization, I'd like to
investigate these. Help is appreciated.
--
You received this bug notification
A rebuild with gcc 4.5.2 with optimization left at -O2 also results in
correct binaries.
I put the two correctly working debs here, suffixed the file with the gcc
version and opt level
http://people.ubuntu.com/~jani/
--
You received this bug notification because you are a member of Ubuntu
Building the oneiric apt source package in a debian unstable chroot
using these gcc options suggested by doko
-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-fp16
also results in a functional package.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Also affects: gcc-linaro
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
tracking the eglibc testsuite regressions in bug #775849
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
jani, could you combine the object of the failing and a successful (the
debian?) build to find the problematice object files?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt
Could yoi maybe run bt full in gdb?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
(gdb) (gdb) bt full
#0 0x40239c02 in __vsnprintf_chk () from /lib/arm-linux-gnueabi/libc.so.6
No symbol table info available.
#1 0x40042480 in vsnprintf (this=0x400e08f8, type=GlobalError::WARNING,
Description=0x40314008 (null) - (0: Success), args=...,
msgSize=@0xbef78afc) at
does an apt built using GCC 4.5 show the same behaviour?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
** Tags added: armel
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
I built the oneiric apt on natty (with gcc4.5) and it built and worked
fine on natty. Then I upgraded the chroot I used for this to oneiric
and got the segmentation fault. I suspect that exonerates gcc4.6. I'm
open for suggestions what to try next.
--
You received this bug notification
(Notes for other oneiric newbies)
To reproduce:
* Start with a ARM natty system
* % apt-get install ubuntu-dev-tools
* Change to /usr/share/debootstrap/scripts
* % ln -s gutsy oneiric to let debootstrap know how to make oneiric
* % cd ~/linaro/roots
* % export http_proxy=...
* %
The natty debootstrap already knows about oneiric, so manually adding
the symlink should not be needed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
I'm a bit confused. After installing libc6-dbg and also the ddebs, apt-
get seems to segfault before hitting main:
root@ursa1:/# gdb /usr/bin/apt-get
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
Excerpt from build log:
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package',
'328ae026dfba17aa1f63d6a2ef5dd75df88ced94', 'armel', 'oneiric', '--nolog',
'--batch', '--archive=ubuntu',
ogra's backtrace:
root@isis:/root# strace apt-get update
execve(/usr/bin/apt-get, [apt-get, update], [/* 24 vars */]) = 0
brk(0) = 0x5e9000
uname({sys=Linux, node=isis, ...}) = 0
access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory)
We may need a gdb backtrace with debugging symbols. All I can tell from
the strace backend is that we try to allocate 1GB of memory via mmap2()
and that fails. I don't know where this is happening though.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
I was probably doing it wrong, but this all I got:
(gdb) run
Starting program: /usr/bin/apt-cache
Program received signal SIGSEGV, Segmentation fault.
0x40239c02 in __vsnprintf_chk () from /lib/arm-linux-gnueabi/libc.so.6
--
You received this bug notification because you are a member of
Scott, please run the 'bt' command after the segfault to get a
backtrace.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs mailing list
** Also affects: apt (Ubuntu Oneiric)
Importance: Critical
Status: Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/774175
Title:
apt segfaults on armel in oneiric
--
ubuntu-bugs
0x40239c02 in __vsnprintf_chk () from /lib/arm-linux-gnueabi/libc.so.6
(gdb) (gdb) bt
#0 0x40239c02 in __vsnprintf_chk () from /lib/arm-linux-gnueabi/libc.so.6
#1 0x40042480 in vsnprintf (this=0x400e08f8, type=GlobalError::WARNING,
Description=0x40314008 (null) - (0: Success), args=...,
45 matches
Mail list logo