* [Buildroot] [Bug 5570] New: Cannot compile software on the target machine
@ 2012-09-24 11:05 bugzilla at busybox.net
2012-09-24 14:10 ` [Buildroot] [Bug 5570] " bugzilla at busybox.net
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-09-24 11:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5570
Host: x86_64 Arch Linux box
Target: arm (littel endian) arm1176jzf-s (BCM2708)
Summary: Cannot compile software on the target machine
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: mari.hahn at uni-muenster.de
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Version: buildroot-20120922.tar.bz2
While compiling simple hello world programs on the target machine does work,
compiling complex software doesn't.
I get error messages like this one:
libtool: link: warning: library `/usr/lib/libintl.la' was moved.
grep:
/home/maribu/buildroot/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib//libiconv.la:
No such file or directory
sed:
/home/maribu/buildroot/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib//libiconv.la:
No such file or directory
libtool: link:
`/home/maribu/buildroot/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib//libiconv.la'
is not a valid libtool archive
the libtool archive "libintl.la" is present at /usr/lib, but libtool is
searching for it in
"/home/maribu/buildroot/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/lib/"
which was the correct path on the cross compiling host, but not on the target.
I tried to export LD_LIBARY_PATH=/usr/lib which does work as root, bus for some
reason is completely ignored (without any feedback) as normal user.
I think this is a bug, because in my humble opinion there should be no
reference to host specific paths within the resulting image.
I would be very happy if someone would suggest a quick workaround so I can
start compiling again.
Regards,
Maribu
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 5570] Cannot compile software on the target machine
2012-09-24 11:05 [Buildroot] [Bug 5570] New: Cannot compile software on the target machine bugzilla at busybox.net
@ 2012-09-24 14:10 ` bugzilla at busybox.net
2012-09-24 14:27 ` bugzilla at busybox.net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-09-24 14:10 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5570
--- Comment #1 from Maribu <mari.hahn@uni-muenster.de> 2012-09-24 14:10:05 UTC ---
Ok, I found references inside /usr/bin/libtool and also in /usr/lib/*.la on the
target machine referring to paths on the host machine.
For now I fixed the pathes manually. Hopefully I can now compile on the target
machine.
Regards,
Maribu
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 5570] Cannot compile software on the target machine
2012-09-24 11:05 [Buildroot] [Bug 5570] New: Cannot compile software on the target machine bugzilla at busybox.net
2012-09-24 14:10 ` [Buildroot] [Bug 5570] " bugzilla at busybox.net
@ 2012-09-24 14:27 ` bugzilla at busybox.net
2012-09-24 17:09 ` bugzilla at busybox.net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-09-24 14:27 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5570
--- Comment #2 from Samuel Martin <s.martin49@gmail.com> 2012-09-24 14:27:32 UTC ---
Hi Maribu,
You're talking about the target toolchain, right?
Note that this is not really the way most of the developers around work, so
this barely maintained and tested.
See this thread:
http://lists.busybox.net/pipermail/buildroot/2012-August/057987.html
Regards,
Sam
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 5570] Cannot compile software on the target machine
2012-09-24 11:05 [Buildroot] [Bug 5570] New: Cannot compile software on the target machine bugzilla at busybox.net
2012-09-24 14:10 ` [Buildroot] [Bug 5570] " bugzilla at busybox.net
2012-09-24 14:27 ` bugzilla at busybox.net
@ 2012-09-24 17:09 ` bugzilla at busybox.net
2012-09-24 20:13 ` bugzilla at busybox.net
2013-11-28 17:25 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-09-24 17:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5570
--- Comment #3 from Maribu <mari.hahn@uni-muenster.de> 2012-09-24 17:09:09 UTC ---
Hi,Sam!
Yes, I'm using the target toolchain. I understand that the target toolchain is
not a commonly requested feature and it is generally a much better idea to
cross compile all software.
If I can get the target toolchain working properly I will post what I have done
to achieve this.
Regards,
Maribu
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 5570] Cannot compile software on the target machine
2012-09-24 11:05 [Buildroot] [Bug 5570] New: Cannot compile software on the target machine bugzilla at busybox.net
` (2 preceding siblings ...)
2012-09-24 17:09 ` bugzilla at busybox.net
@ 2012-09-24 20:13 ` bugzilla at busybox.net
2013-11-28 17:25 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-09-24 20:13 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5570
--- Comment #4 from Maribu <mari.hahn@uni-muenster.de> 2012-09-24 20:13:56 UTC ---
Ok, with all paths referring to host machine in /usr/bin/libtool and
/usr/lib/*.la changed to corresponding counterparts in the target file system,
I can build static librarys. But ld seems to be broken. I'll try to rebuild
binutils so I get a working ld.
Regards,
Maribu
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 5570] Cannot compile software on the target machine
2012-09-24 11:05 [Buildroot] [Bug 5570] New: Cannot compile software on the target machine bugzilla at busybox.net
` (3 preceding siblings ...)
2012-09-24 20:13 ` bugzilla at busybox.net
@ 2013-11-28 17:25 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2013-11-28 17:25 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5570
Gustavo Zacarias <gustavo@zacarias.com.ar> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #5 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-11-28 17:25:06 UTC ---
This is deprecated functionality, hence marking as WONTFIX.
Support for building in the target was always flaky/broken and nobody cared to
fix it properly so it was decided to drop that option some time ago.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-28 17:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 11:05 [Buildroot] [Bug 5570] New: Cannot compile software on the target machine bugzilla at busybox.net
2012-09-24 14:10 ` [Buildroot] [Bug 5570] " bugzilla at busybox.net
2012-09-24 14:27 ` bugzilla at busybox.net
2012-09-24 17:09 ` bugzilla at busybox.net
2012-09-24 20:13 ` bugzilla at busybox.net
2013-11-28 17:25 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox