hi Yibin:
  Please try to remove the *-march=pentium3* from the gcc's option list,
that option caused the problem. Hope it helps.
--
 Chen

../shared/libglob.o ../shared/libglob.c
 2008/10/20 chunrong lai <[EMAIL PROTECTED]>:
>  You can also post the running result of "Gcc -v" and "Uname -a" for
better
> description.
> 2008/10/20 胡益斌 <[EMAIL PROTECTED]>
>
>> Thank you
>> My OS is Debian 4.1.1-21
>> gcc version is gcc version 4.1.2
>> glibc version is 2.3.6
>> Error Detail:
>> make-all:
>>
>> -build-native:
>>     [echo] Making "" in
>>
>>
/home/yzm/huyibin/test/m5/apache-harmony-src-r629320/working_classlib/modules/portlib/src/main/native/common/unix
>>     [exec] cc -DLINUX -DLINUX_X86 -DHYX86 -DIPv6_FUNCTION_SUPPORT
>> -D_REENTRANT
>>
>>
-I/home/yzm/huyibin/test/m5/apache-harmony-src-r629320/working_classlib/deploy/include
>>
>>
-I/home/yzm/huyibin/test/m5/apache-harmony-src-r629320/working_classlib/deploy/jdk/include
>> -I. -I../shared/ -fpic -march=pentium3 -ggdb -O0    -c -o
>> ../shared/libglob.o ../shared/libglob.c
>>     [exec] ../shared/libglob.c:1: error: CPU you selected does not
support
>> x86-64 instruction set
>>     [exec] ../shared/libglob.c:1: error: CPU you selected does not
support
>> x86-64 instruction set
>>     [exec] make: *** [../shared/libglob.o] Error 1
>>
>> BUILD FAILED
>> /home/yzm/huyibin/test/m5/apache-harmony-src-r629320/build.xml:349: The
>> following error occurred while executing this line:
>>
>>
/home/yzm/huyibin/test/m5/apache-harmony-src-r629320/working_classlib/build.xml:148:
>> The following error occurred while executing this line:
>>
>>
/home/yzm/huyibin/test/m5/apache-harmony-src-r629320/working_classlib/make/build-native.xml:73:
>> The following error occurred while executing this line:
>>
>>
/home/yzm/huyibin/test/m5/apache-harmony-src-r629320/working_classlib/modules/portlib/build.xml:101:
>> The following error occurred while executing this line:
>>
>>
/home/yzm/huyibin/test/m5/apache-harmony-src-r629320/working_classlib/make/properties.xml:492:
>> exec returned: 2
>>
>> 2008/10/20 chunrong lai <[EMAIL PROTECTED]>
>>
>> >    I can build/run harmony in 64bits architecture without problem,
>> include
>> > windows64/Linux64.
>> >    I think that you can describe your environment, include the
>> > OS/toolchain, more clearly and what are the detailed error message (in
>> > which
>> > step of Harmony building). In my memory Harmony checks the OS to decide
>> > either 64bits binaries or 32 bits binaries will be built.
>> >
>> > -chunrong
>> >
>> > On Mon, Oct 20, 2008 at 3:04 PM, YiBin Hu <[EMAIL PROTECTED]>
wrote:
>> >
>> > > Hi,  all
>> > > When I tried to built harmony on a Xeon E7310(64-bit)  host, it
failed
>> > and
>> > > told me "CPU you selected does not support x86-64 instruction set",
>> > > I wonder whether harmony can be built on Xeon(64 bit) architecture,
and
>> > how
>> > > to fix the building error.
>> > >
>> > > Many thanks
>> > > --
>> > > Best Regards
>> > > Barry.Hu
>> > > Software School of Fudan University
>> > >
>> >
>>
>>
>>
>> --
>>  Best Regards Barry.Hu Software School of Fudan University
>>
>
  --
Chen
 [EMAIL PROTECTED]

Reply via email to