I just hit an issue cross-compiling the linux-linaro-2.6.37.git source.
I'm seeing errors for arch/arm/mach-omap2/sleep34xx.S like:
Error: selected processor does not support ARM mode `smc #1'
It appears to be related to commit:
98be69a ARM: omap3: Remove hand-encoded SMC instructions
After doing a little searching, I stumbled across something similar from
John Rigby:
http://marc.info/?l=linux-omap&m=129118316614865&w=2
I "fixed" the problem on my system with this patch:
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index f6614a6..985bc89 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -68,7 +68,7 @@ obj-$(CONFIG_OMAP_SMARTREFLEX) += sr_device.o
smartre
obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o
AFLAGS_sleep24xx.o :=-Wa,-march=armv6
-AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a
+AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
ifeq ($(CONFIG_PM_VERBOSE),y)
CFLAGS_pm_bus.o += -DDEBUG
My question: Is this patch actually needed for cross-compiling our
kernel, or is there some additional argument I need to pass to Make when
building my kernel?
FYI - My current command line looks like:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- O=out V=1 uImage modules
-andy
Enclosed you'll find a link to the agenda, notes and actions from the
Linaro Developer Platforms Weekly Status meeting held on February 16th
in #linaro-meeting on irc.freenode.net at 16:00 UTC.
https://wiki.linaro.org/Platform/Foundations/2011-02-16
Actions from the meeting where as follows:
* slangasek, JamieBennett to shake the tree for developer image testing
* slangasek to prod archive admins about rejected kernels
Regards,
Tom (tgall_foo)
Developer Platforms Team
"We want great men who, when fortune frowns will not be discouraged."
- Colonel Henry Knox
w) tom.gall att linaro.org
w) tom_gall att vnet.ibm.com
h) tom_gall att mac.com
adbd depends on this property to be capable of listening on network so that adb
can connect to the device through network. Without this property set, adbd will
only try to listen on the alternative usb gadget interface when it starts.
Set the property 'service.adb.tcp.port' to the default port 5555 which
is defined in
DEFAULT_ADB_LOCAL_TRANSPORT_PORT of file system/core/adb/adb.h
Signed-off-by: Jeremy Chang <jeremy.chang(a)linaro.org>
---
init.rc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/init.rc b/init.rc
index b6a92c5..50d2dc6 100644
--- a/init.rc
+++ b/init.rc
@@ -181,6 +181,7 @@ on boot
ifup lo
hostname localhost
domainname localdomain
+ setprop service.adb.tcp.port 5555
# set RLIMIT_NICE to allow priorities from 19 to -20
setrlimit 13 40 40
--
1.7.1
Hi
I am seeing an ICE while compiling gcc for i586 from linaro 4.5 branch
This ICE happens in libstd++ when compiling with -march=pentium -Os
If -march=pentium is not used then it compiles file and also -O2 works
ok
ios_init.c: In destructor 'std::ios_base::Init::~Init()':
ios_init.c:15899:3: internal compiler error: in
dwarf2out_begin_epilogue, at dwarf2out.c:2859
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Is the error I get and if I revert r99474 the ICE goes away
here is command to reproduce this error
./build.x86_64-linux.i586-oe-linux/gcc/cc1plus -Os -march=pentium
ios_init.c
and attached is the testcase to reproduce it
Thanks
--
-Khem
Greetings,
Enclosed you'll find a link to the agenda, minutes and actions from the
Linaro toolchain working group weekly meetings of Feb 14 & Feb 16, 2011.
https://wiki.linaro.org/WorkingGroups/ToolChain/Meetings/2011-02-14https://wiki.linaro.org/WorkingGroups/ToolChain/Meetings/2011-02-16
== Summary ==
* An issue regarding the ARM specific use of conditional flags was found in
swing-modulo-scheduling
* Discussed how to profile when benchmarking. Decided on perf for
identifying hotspots.
* Ran a CoreMark benchmark series on the Cortex-A9
* Finished investigation into the state of A9 emulation in QEMU. Passed on
to ARM's marketing department to decide what they want
Mounir