* [Buildroot] [Bug 5150] New: iproute2 does not include the LDFLAGS in the mk
@ 2012-04-27 15:02 bugzilla at busybox.net
2012-05-03 20:33 ` [Buildroot] [Bug 5150] " bugzilla at busybox.net
2012-05-11 10:38 ` bugzilla at busybox.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2012-04-27 15:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5150
Summary: iproute2 does not include the LDFLAGS in the mk
Product: buildroot
Version: 2012.02
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: korkakak at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
The error is the following:
/bin/sed -i -e 's/$(CCOPTS)//'
/home/user/buildroot/output/build/iproute2-2.6.39/netem/Makefile
/usr/bin/make -j8 CC="/home/user/buildroot/output/host/usr/bin/ccache
/home/user/buildroot/output/host/usr/bin/mips-linux-gnu-gcc" CCOPTS="-pipe -EL
-march=m14kc -mmcu -I/home/user/RHEA_II//linux-2.6.x -O3 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE" -C
/home/user/buildroot/output/build/iproute2-2.6.39
make[1]: Entering directory `/home/user/buildroot/output/build/iproute2-2.6.39'
make[2]: Entering directory
`/home/user/buildroot/output/build/iproute2-2.6.39/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/user/buildroot/output/build/iproute2-2.6.39/lib'
make[2]: Entering directory
`/home/user/buildroot/output/build/iproute2-2.6.39/ip'
/home/user/buildroot/output/host/usr/bin/ccache
/home/user/buildroot/output/host/usr/bin/mips-linux-gnu-gcc -Wl,-export-dynamic
ip.o ipaddress.o ipaddrlabel.o iproute.o iprule.o rtm_map.o iptunnel.o
ip6tunnel.o tunnel.o ipneigh.o ipntable.o iplink.o ipmaddr.o ipmonitor.o
ipmroute.o ipprefix.o iptuntap.o ipxfrm.o xfrm_state.o xfrm_policy.o
xfrm_monitor.o iplink_vlan.o link_veth.o link_gre.o iplink_can.o
iplink_macvlan.o iplink_macvtap.o ../lib/libnetlink.a ../lib/libutil.a
-lresolv ../lib/libnetlink.a ../lib/libutil.a -ldl -o ip
/home/user/buildroot/output/host/usr/bin/ccache
/home/user/buildroot/output/host/usr/bin/mips-linux-gnu-gcc -Wl,-export-dynamic
rtmon.o ../lib/libnetlink.a ../lib/libutil.a -lresolv ../lib/libnetlink.a
../lib/libutil.a -ldl -o rtmon
/home/user/buildroot/output/host/usr/mipsel-unknown-linux-gnu/sysroot/soft-float/usr/lib/libresolv.so:
could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [rtmon] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/user/buildroot/output/host/usr/mipsel-unknown-linux-gnu/sysroot/soft-float/usr/lib/libresolv.so:
could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [ip] Error 1
FIX:
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index dd2506c..790b891 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -35,7 +35,7 @@ endef
define IPROUTE2_BUILD_CMDS
$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
- $(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C
$(@D)
+ $(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
endef
define IPROUTE2_INSTALL_TARGET_CMDS
--
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 related [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 5150] iproute2 does not include the LDFLAGS in the mk
2012-04-27 15:02 [Buildroot] [Bug 5150] New: iproute2 does not include the LDFLAGS in the mk bugzilla at busybox.net
@ 2012-05-03 20:33 ` bugzilla at busybox.net
2012-05-11 10:38 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2012-05-03 20:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5150
--- Comment #1 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2012-05-03 20:33:17 UTC ---
Does it still happen with the latest git buildroot?
If yes, can you provide a .config?
--
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] 3+ messages in thread
* [Buildroot] [Bug 5150] iproute2 does not include the LDFLAGS in the mk
2012-04-27 15:02 [Buildroot] [Bug 5150] New: iproute2 does not include the LDFLAGS in the mk bugzilla at busybox.net
2012-05-03 20:33 ` [Buildroot] [Bug 5150] " bugzilla at busybox.net
@ 2012-05-11 10:38 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2012-05-11 10:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5150
Korkakakis Nikos <korkakak@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Korkakakis Nikos <korkakak@gmail.com> 2012-05-11 10:38:50 UTC ---
(In reply to comment #1)
> Does it still happen with the latest git buildroot?
> If yes, can you provide a .config?
(In reply to comment #1)
> Does it still happen with the latest git buildroot?
> If yes, can you provide a .config?
No it does not. I was a dozen revisions behind.
Thanks.
N.
--
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] 3+ messages in thread
end of thread, other threads:[~2012-05-11 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 15:02 [Buildroot] [Bug 5150] New: iproute2 does not include the LDFLAGS in the mk bugzilla at busybox.net
2012-05-03 20:33 ` [Buildroot] [Bug 5150] " bugzilla at busybox.net
2012-05-11 10:38 ` 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