Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
armv7-a : For thumb inter-working we require an architecture which supports blx
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AJ ONeal  
View profile  
 More options Dec 15 2010, 8:04 pm
From: AJ ONeal <coola...@gmail.com>
Date: Wed, 15 Dec 2010 18:04:58 -0700
Local: Wed, Dec 15 2010 8:04 pm
Subject: armv7-a : For thumb inter-working we require an architecture which supports blx

Isn't scons supposed to auto-guess my architecture when not cross-compiling?

touch foo.cc
g++ -march=armv7-a -mtune=cortex-a8 -mfpu=vfp -dM -E foo.cc || grep -i ARM
#define __ARMEL__ 1
#define __arm__ 1
#define __ARM_ARCH_7A__ 1
#define __ARM_EABI__ 1

svn checkout http://v8.googlecode.com/svn/trunk/ v8-read-only
cd v8-read-only
scons mode=debug snapshot=on library=shared

g++ -o obj/debug/arm/macro-assembler-arm.os -c -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -g -O0 -ansi -fno-rtti
-fno-exceptions -fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter
-Wnon-virtual-dtor -pedantic -g -O0 -ansi -fPIC -DV8_TARGET_ARCH_ARM
-DENABLE_DISASSEMBLER -DDEBUG -DV8_SHARED -DENABLE_VMSTATE_TRACKING
-DENABLE_LOGGING_AND_PROFILING -DV8_ENABLE_CHECKS -DENABLE_DEBUGGER_SUPPORT
-Isrc src/arm/macro-assembler-arm.cc
src/arm/macro-assembler-arm.cc:61:3: error: #error "For thumb inter-working
we require an architecture which supports blx"

AJ ONeal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Corry  
View profile  
 More options Dec 17 2010, 4:33 am
From: Erik Corry <erik.co...@gmail.com>
Date: Fri, 17 Dec 2010 10:33:03 +0100
Local: Fri, Dec 17 2010 4:33 am
Subject: Re: [v8-users] armv7-a : For thumb inter-working we require an architecture which supports blx
16. dec. 2010 02.04 skrev AJ ONeal <coola...@gmail.com>:

> Isn't scons supposed to auto-guess my architecture when not cross-compiling?

Just because you are compiling on an ARMv7, it doesn't mean you want
to build a VM that doesn't work on an older CPU.

I think
export CFLAGS=-march=armv7-a
should work for you.  If you don't care about CPUs without VFP then
you should use
export CFLAGS=-march=armv7-a -DCAN_USE_VFP_INSTRUCTIONS=1

--
Erik Corry, Software Engineer
Google Denmark ApS - Frederiksborggade 20B, 1 sal,
1360 København K - Denmark - CVR nr. 28 86 69 84

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AJ ONeal  
View profile  
 More options Dec 17 2010, 11:32 am
From: AJ ONeal <coola...@gmail.com>
Date: Fri, 17 Dec 2010 09:32:45 -0700
Local: Fri, Dec 17 2010 11:32 am
Subject: Re: [v8-users] armv7-a : For thumb inter-working we require an architecture which supports blx

Certainly it shouldn't default to build for a version of ARM that is known
to not work.

Shouldn't it at least auto-guess armv5te?
Isn't that the oldest generation of ARM that will build?

AJ ONeal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rodolph Perfetta  
View profile  
 More options Dec 17 2010, 2:57 pm
From: Rodolph Perfetta <rodolph.perfe...@gmail.com>
Date: Fri, 17 Dec 2010 19:57:17 +0000
Local: Fri, Dec 17 2010 2:57 pm
Subject: Re: [v8-users] armv7-a : For thumb inter-working we require an architecture which supports blx

The minimun requirements are: armv4 without interworking or armv5t with
interworking.

The build system will default to whatever your compiler defaults are, which
here seem to be armv4t with interworking hence the error.

as Erik explained you can manually add some compiler options such as
"-march=armv7-a -mfpu=vfp -mfloat-abi=vfp" if you want the the latest ISA
and floating point support. Alternatively you could disable interworking
(-mno-thumb-interwork but I am not 100% sure on this one).

Cheers,
Rodolph.

On 17 December 2010 16:32, AJ ONeal <coola...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AJ ONeal  
View profile  
 More options Dec 17 2010, 3:02 pm
From: AJ ONeal <coola...@gmail.com>
Date: Fri, 17 Dec 2010 13:02:07 -0700
Local: Fri, Dec 17 2010 3:02 pm
Subject: Re: [v8-users] armv7-a : For thumb inter-working we require an architecture which supports blx

Thanks, forgive my ignorance.

How do I go about setting my compiler (gcc) defaults?

AJ ONeal

On Fri, Dec 17, 2010 at 12:57 PM, Rodolph Perfetta <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AJ ONeal  
View profile  
 More options Dec 17 2010, 3:03 pm
From: AJ ONeal <coola...@gmail.com>
Date: Fri, 17 Dec 2010 13:03:28 -0700
Local: Fri, Dec 17 2010 3:03 pm
Subject: Re: [v8-users] armv7-a : For thumb inter-working we require an architecture which supports blx

As I understand it scons doesn't read from the environment variables, hence
the need to specifically import them, correct?

AJ ONeal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pikpik  
View profile  
 More options Dec 17 2010, 3:29 pm
From: pikpik <pikpik.1...@gmail.com>
Date: Fri, 17 Dec 2010 12:29:09 -0800 (PST)
Local: Fri, Dec 17 2010 3:29 pm
Subject: Re: armv7-a : For thumb inter-working we require an architecture which supports blx
Hi,

On Dec 17, 3:03 pm, AJ ONeal <coola...@gmail.com> wrote:

> As I understand it scons doesn't read from the environment variables, hence
> the need to specifically import them, correct?

I think SCons does read from the environment variables. I had trouble
with this for quite some time, but it does work.

To see if it will take your variables, you could try the following
script.

scons-test.sh:

CC=orange \
CXX=apple \
scons $@

Save, "chmod u+x scons-test.sh," run, and look in SCons' output for
"orange" or "apple."

I hope this helps,
pikpik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »