[Bug 598389] Re: Cross build needs rpath with xdeb

2011-02-18 Thread Scott Ritchie
Do we need to update ia32-libs? Maverick ia32-libs seems to conflict with lib32ncurses5w -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/598389 Title: Cross build needs rpath with xdeb -- ubuntu-bu

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-12-18 Thread Launchpad Bug Tracker
This bug was fixed in the package armel-cross-toolchain-base - 1.52 --- armel-cross-toolchain-base (1.52) maverick-proposed; urgency=low * build binutils without sysroot support - closes LP: #598389 armel-cross-toolchain-base (1.51) maverick; urgency=low * debian/rules: add epoc

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-12-16 Thread Marcin Juszkiewicz
** Changed in: binutils Importance: Unknown => Undecided ** Changed in: binutils Status: Confirmed => New ** Changed in: binutils Remote watch: Sourceware.org Bugzilla #10340 => None ** Changed in: binutils Status: New => Invalid -- You received this bug notification because

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-12-16 Thread Marcin Juszkiewicz
** Changed in: armel-cross-toolchain-base (Ubuntu Natty) Status: In Progress => Fix Released ** Changed in: armel-cross-toolchain-base (Ubuntu Natty) Assignee: (unassigned) => Marcin Juszkiewicz (hrw) -- You received this bug notification because you are a member of Ubuntu Bugs, whic

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-12-16 Thread Marcin Juszkiewicz
I am able to build ncurses for armel using xdeb in maverick chroot with armel-cross-toolchain-base packages in 1.52 version taken from maverick- proposed. ** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubunt

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-11-09 Thread Loïc Minier
Fixed the maverick tasks; not sure why so many were bogus ** Changed in: gcc-4.5 (Ubuntu Maverick) Status: New => Invalid ** Changed in: gcc-4.4 (Ubuntu Maverick) Status: New => Invalid ** Changed in: ncurses (Ubuntu Maverick) Status: New => Fix Released ** Changed in: binu

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-11-09 Thread Martin Pitt
Accepted armel-cross-toolchain-base into maverick-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! ** Changed in: arm

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-11-02 Thread Steve Langasek
** Also affects: armel-cross-toolchain-base (Ubuntu) Importance: Undecided Status: New ** Also affects: armel-cross-toolchain-base (Ubuntu Maverick) Importance: Undecided Status: New ** Also affects: binutils (Ubuntu Maverick) Importance: Undecided Status: New ** Al

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-10-14 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/binutils -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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.ubun

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-10-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/ncurses -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-09-27 Thread Marcin Juszkiewicz
Attached patch for binutils disables sysroot (if it is not set). This allowed me to compile ncurses without problems. pcre3 is indeed other problem - there is something need to be done with libtool to make it work. ** Patch added: "0001-do-not-set-sysroot-for-cross-builds-closes-LP-598389.patch"

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-09-06 Thread Matthias Klose
no fix needed for gcc-4.4 and gcc-4.5. the sysroot isn't set in the build files, but from the environment. ** Changed in: gcc-4.4 (Ubuntu) Status: New => Invalid ** Changed in: gcc-4.5 (Ubuntu) Status: New => Invalid -- Cross build needs rpath with xdeb https://bugs.launchpad.net

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-08-27 Thread Steve Langasek
** Changed in: gcc-4.4 (Ubuntu) Milestone: None => ubuntu-10.10 ** Changed in: gcc-4.5 (Ubuntu) Milestone: None => ubuntu-10.10 -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-11 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/experimental/binutils -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-10 Thread Matthias Klose
needs an update in gcc-4.4 and gcc-4.5 too. ** Also affects: gcc-4.4 (Ubuntu) Importance: Undecided Status: New ** Also affects: gcc-4.5 (Ubuntu) Importance: Undecided Status: New -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-10 Thread Launchpad Bug Tracker
This bug was fixed in the package binutils - 2.20.51.20100710-1ubuntu1 --- binutils (2.20.51.20100710-1ubuntu1) maverick; urgency=low * Update HJ patches from binutils 2.20.51.0.10. binutils (2.20.51.20100710-1) experimental; urgency=low * Snapshot, taken from the trunk 20100710

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-06 Thread Loïc Minier
** Changed in: binutils-linaro Assignee: Marcin Juszkiewicz (hrw) => (unassigned) ** Changed in: binutils (Ubuntu) Assignee: (unassigned) => Marcin Juszkiewicz (hrw) -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because y

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-06 Thread Loïc Minier
So Marcin notes that binutils has sysroot set to /, which is probably incorrect (should be /usr/$triplet for cross-binutils) and that also fixes the ncurses cross-build link issues, so it's probably a better fix than including the bugzilla patch. ** Changed in: binutils-linaro Status: Confi

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Steve Langasek
** Changed in: binutils-linaro Assignee: (unassigned) => Marcin Juszkiewicz (hrw) -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing li

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Bug Watch Updater
** Changed in: binutils Status: Unknown => Confirmed -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Launchpad Bug Tracker
This bug was fixed in the package ncurses - 5.7+20100626-0ubuntu1 --- ncurses (5.7+20100626-0ubuntu1) maverick; urgency=low * New upstream release - Fixes a couple of issues preventing cross-compilation; LP: #598389. - Update patch 05-emdebian-wchar to apply cleanly. - D

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Loïc Minier
** Changed in: ncurses (Ubuntu) Assignee: (unassigned) => Loïc Minier (lool) ** Changed in: ncurses (Ubuntu) Status: New => Confirmed ** Changed in: ncurses (Ubuntu) Status: Confirmed => In Progress ** Changed in: ncurses (Ubuntu) Status: In Progress => Fix Committed -

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Loïc Minier
** Attachment added: "ncurses_5.7+20100626-0ubuntu1_armel.build" http://launchpadlibrarian.net/51423995/ncurses_5.7%2B20100626-0ubuntu1_armel.build -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a member of Ubunt

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Loïc Minier
I tested http://people.canonical.com/~hrw/binutils-arm-linux-gnueabi_2.20.51.20100617-0ubuntu1_amd64.deb which is Marcin's latest build. It has the workaround I mentioned in comment #16 but it doesn't have the binutils patch mentionned here. As expected, it fixes the pcre3 FTBFS, but it doesn

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Loïc Minier
Ah so with just the --with-build-cflags=-D_GNU_SOURCE change and with a binutils patched with the bugzilla patch Peter linked to, I can cross- build maverick's ncurses, confirming that indeed the upstream binutils patch helps. I tested with the binary cross-binutils package which Marcin built with

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Loïc Minier
** Changed in: binutils-linaro Status: New => Confirmed -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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.ubu

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Marcin Juszkiewicz
** Patch added: "potential fix" http://launchpadlibrarian.net/51416733/binutils-add-host-to-targets.patch -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Loïc Minier
Ok, my pcre3 issue is probably unrelated; just for the record, I remember I hit this a while ago while building my own cross-toolchains: libtool insists adding -L/usr/lib to the build while libs are only in /usr/$triplet/lib; this causes the linker to try to link against the libs from the build sys

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-05 Thread Loïc Minier
(@Thomas: thanks for the advice!) FWIW, I think I'm hitting the same linker script bug as Peter is reporting with pcre3: libtool: install: warning: relinking `libpcreposix.la' libtool: install: (cd /home/lool/pcre3; /bin/bash /home/lool/pcre3/libtool --tag CC --mode=relink arm-linux-gnueabi-gcc

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-03 Thread Loïc Minier
** Project changed: gcc-linaro => binutils-linaro -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-02 Thread Peter Pearse
Perhaps we need http://sourceware.org/bugzilla/show_bug.cgi?id=10340 ** Bug watch added: Sourceware.org Bugzilla #10340 http://sourceware.org/bugzilla/show_bug.cgi?id=10340 -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because y

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-02 Thread Peter Pearse
Looking again at the default linker script above - the search path has =, so presumably the problem lies in the linker's sysroot configuration, rather than the script entry itself. -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification becau

Re: [Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-01 Thread Thomas Dickey
On Thu, 1 Jul 2010, Loïc Minier wrote: > Thomas, I checked the NEWS from latest ncurses dev tarball and it seems > a relatively harmless bunch of updates when compared to Ubuntu's current > 5.7+20100313, but still quite a few. > > Do you see any issue in updating to this version, such as API/ABI >

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-07-01 Thread Loïc Minier
Thomas, I checked the NEWS from latest ncurses dev tarball and it seems a relatively harmless bunch of updates when compared to Ubuntu's current 5.7+20100313, but still quite a few. Do you see any issue in updating to this version, such as API/ABI changes (didn't see any myself) or things which co

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-30 Thread Brian Murray
** Tags added: patch -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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.ubuntu.com/mailman/l

Re: [Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-30 Thread Thomas Dickey
Quoting Loïc Minier : > Is this only needed when cross-building or should the ncurses build > always set -D_GNU_SOURCE when building make_hash & make_keys? What's > the error you get otherwise? It's needed for cross-building because the configure script can only do checks for one compile-environ

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-30 Thread Loïc Minier
Is this only needed when cross-building or should the ncurses build always set -D_GNU_SOURCE when building make_hash & make_keys? What's the error you get otherwise? -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a m

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-30 Thread Peter Pearse
The -D_GNU_SOURCE is necessary to sort out the headers for the build- host tools make_hash & make_keys when cross building. -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-30 Thread Peter Pearse
For cross ncurses/debian/rules needs to add --with-build-cflags=_GNU_SOURCE to the configure diff against for both ncurses fixes attached ** Patch added: "Fix ncurses for cross building" http://launchpadlibrarian.net/51165523/ncurses-5.7%2B20100313%7Ecross.diff -- Cross build needs rpath wit

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-28 Thread Peter Pearse
ncurses configure prunes -ldl from LIBS, causing the tic & (at least) background to fail. -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-28 Thread Peter Pearse
ncurses_5.7+20100313-2ubuntu1 -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 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.ubuntu.com/

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-26 Thread Loïc Minier
Peter, another thing which might influence the build is the linker script of libc; check /usr/lib/libc.so and check whether the one from your cross-libc was properly converted to cross-dirs. -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notifica

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-26 Thread Thomas Dickey
Offhand, current code adds a -ldl. More details (such as which patch level of ncurses) helps. -- Cross build needs rpath with xdeb https://bugs.launchpad.net/bugs/598389 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 598389] Re: Cross build needs rpath with xdeb

2010-06-26 Thread Loïc Minier
Peter, I think this is a valid bug for the default cross-compiler library search path, could you include the exact version of binutils and gcc which you use for cross-compilation? However, the reason you're failing to cross-compile this particular package with xdeb is due to a missing -ldl in the