rawko3 / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

FATAL:error constructing pseudo-op table (exists) #143

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout odcctools from iphone svn
2. ./configure --prefix=x86_64-apple-dariwn --prefix=[path]/corosscompiler/
3. make
4. compile test.c, a plain hello world app.

What is the expected output? What do you see instead?
I would expect a.out and an executable and instead I get this error from AS:
FATAL:error constructing pseudo-op table (exists)

What version of the product are you using? On what operating system?
GCC 4.30, odcctools 622.3 fresh from cvs

Please provide any additional information below.

Original issue reported on code.google.com by rich.bon...@googlemail.com on 3 Jun 2008 at 10:12

GoogleCodeExporter commented 8 years ago
Sorry I forgot a couple of things,
I'm running this on Suse Linux 10.3 32bit.

Original comment by rich.bon...@googlemail.com on 3 Jun 2008 at 10:54

GoogleCodeExporter commented 8 years ago
It turns out that the pseudo-op 'word' is registered twice for the 'i386' as ..

Even worse it seems, both lines don't declare the same. As I have 0.00 knowledge
about those tools, I just picked a random one (the oldest in fact), and 
commented out
the one introduced in revision 211.

That said, this shouldn't happen with the target 'arm' (which this project is 
about,
not?). But I am happy using it with target 'i386', and then this problem 
arises. I
hope someone with more knowledge than me can make a better decision about which 
line
to pick.

Original comment by patric.s...@gmail.com on 17 Sep 2008 at 12:11

GoogleCodeExporter commented 8 years ago
Hi,

I am using odcctools to crosscompile to x86 Macos.

I did the fix suggested by patric, but am seeing crashes when running the 
program on
a macos box.

Can someone post version number combo for odcctools/GCC that is known to work?  
I am
having no luck with GCC 4.2.3 (plain, no apple patches) and r278 of odcctools, 
with
"word" commented out as indicated.

Original comment by hanw...@gmail.com on 29 Sep 2008 at 4:54