This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error while using lwsync/msync


are you using PPC cross compiler to compile your test.

vinay hegde said the following on 06/05/2006 10:17 PM:
Hi All,

When I tried to compile a program containing "lwsync"
or "msync" instruction, I get into the following
error:

/tmp/cc41VjDs.s: Assembler messages:
/tmp/cc41VjDs.s:8: Error: Unrecognized opcode:
`lwsync'
<<<<


Following is the test program used to test this:

extern void test_lwsync(void);
void test_lwsync(void) {
__asm__ __volatile__("lwsync" : : : "memory");
}
<<<<


Used the following gcc command for compilation:

gcc -Wall -O3 -c test.c
<<<<


The toolchain contains the following:
----
binutils-2.14
gcc-3.4.3
glibc-2.3.2
----

Has anybody seen this error before? By any chance, is
it because of the combination of the above mentioned
binutils, gcc and glibc?


Any pointers will be highly useful to me.

Thanks muchly,
Vinay.






Send instant messages to your online friends http://in.messenger.yahoo.com <br><br> Stay connected with your friends even when away from PC. Link: http://in.mobile.yahoo.com/new/messenger/


--
For unsubscribe information see http://sourceware.org/lists.html#faq



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]