添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi,

i did install ponyc on Leap 42.1 (opensuse). That seems like it was ok. But  when I try to compile "Hello World", i become the following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om aarch64linux aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha armelf_linux armelfb_linux hppalinux hppa64linux elf64_ia64 m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux elf32ppc elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native -mcx16 -fuse-ld=gold ./helloworld.o -L"/home/torsten/Programme/ponyc/build/release/" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/" -L"/home/torsten/Programme/ponyc/build/release/../../packages" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -Wl,--end-group  -lponyrt -lpthread -ldl -lm -Wl,--export-dynamic-symbol=__DescTable -Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config - or to set. But I don't know which one.

Is anyony able to help me?


Greetings

Torsten

On Mar 11, 2017, at 05:37, tsschulz@... wrote:

Hi,

i did install ponyc on Leap 42.1 (opensuse). That seems like it was ok. But  when I try to compile "Hello World", i become the following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om aarch64linux aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha armelf_linux armelfb_linux hppalinux hppa64linux elf64_ia64 m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux elf32ppc elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native -mcx16 -fuse-ld=gold ./helloworld.o -L"/home/torsten/Programme/ponyc/build/release/" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/" -L"/home/torsten/Programme/ponyc/build/release/../../packages" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -Wl,--end-group  -lponyrt -lpthread -ldl -lm -Wl,--export-dynamic-symbol=__DescTable -Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config - or to set. But I don't know which one.

Is anyony able to help me?


Greetings

Torsten

On Sat, Mar 11, 2017 at 5:37 AM, < tsschulz@... > wrote:

Hi,

i did install ponyc on Leap 42.1 (opensuse). That seems like it was ok. But  when I try to compile "Hello World", i become the following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om aarch64linux aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha armelf_linux armelfb_linux hppalinux hppa64linux elf64_ia64 m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux elf32ppc elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native -mcx16 -fuse-ld=gold ./helloworld.o -L"/home/torsten/Programme/ponyc/build/release/" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/" -L"/home/torsten/Programme/ponyc/build/release/../../packages" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -Wl,--end-group  -lponyrt -lpthread -ldl -lm -Wl,--export-dynamic-symbol=__DescTable -Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config - or to set. But I don't know which one.

Is anyony able to help me?


Greetings

Torsten

Hi,

it isn't installed in a VM but on a real System.

I installed it from the sources like it is described at the installation page:

$ git clone git://github.com/ponylang/ponyc
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld

and at the last I got the error.

Greetings
Torsten

Sean T. Allen schrieb:
toggle quoted message Show quoted text
How did you install ponyc?

On Sat, Mar 11, 2017 at 5:37 AM, <tsschulz@... <mailto:tsschulz@...>> wrote:

Hi,

i did install ponyc on Leap 42.1 (opensuse). That seems like it
was ok. But when I try to compile "Hello World", i become the
following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om aarch64linux aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha armelf_linux armelfb_linux hppalinux hppa64linux elf64_ia64 m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux elf32ppc elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native -mcx16 -fuse-ld=gold ./helloworld.o -L"/home/torsten/Programme/ponyc/build/release/" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/" -L"/home/torsten/Programme/ponyc/build/release/../../packages" -Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -Wl,--end-group -lponyrt -lpthread -ldl -lm -Wl,--export-dynamic-symbol=__DescTable -Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config - or to set. But I don't
know which one.

Is anyony able to help me?

Greetings

Torsten

On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz < tsschulz@... > wrote:
Hi,
it isn't installed in a VM but on a real System.
I installed it from the sources like it is described at the installation page:
$ git clone git:// github.com/ponylang/pony c
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld
and at the last I got the error.
Greetings
Torsten
Sean T. Allen schrieb:
How did you install ponyc?
On Sat, Mar 11, 2017 at 5:37 AM, < tsschulz@... <mailto: tsschulz@... >> wrote:
i did install ponyc on Leap 42.1 (opensuse). That seems like it
was ok. But  when I try to compile "Hello World", i become the
following errors:
Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om aarch64linux aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha armelf_linux armelfb_linux hppalinux hppa64linux elf64_ia64 m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux elf32ppc elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native -mcx16 -fuse-ld=gold ./helloworld.o -L"/home/torsten/Programme/pon yc/build/release/" -Wl,-rpath,"/home/torsten/Prog ramme/ponyc/build/release/" -L"/home/torsten/Programme/pon yc/build/release/../../package s" -Wl,-rpath,"/home/torsten/Prog ramme/ponyc/build/release/../. ./packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -Wl,--end-group  -lponyrt -lpthread -ldl -lm -Wl,--export-dynamic-symbol=__ DescTable -Wl,--export-dynamic-symbol=__ DescTableSize
I think that I have to change some config - or to set. But I don't
know which one.
Is anyony able to help me?
Greetings
Torsten
ld -v
GNU ld (GNU Binutils; openSUSE Leap 42.1) 2.26.1

Sean T. Allen schrieb:
What version of `ld` do you have?

Can you post the output of `ld -v` or `ld --version`?

On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz <tsschulz@... <mailto:tsschulz@...>> wrote:

Hi,

it isn't installed in a VM but on a real System.

I installed it from the sources like it is described at the
installation page:

$ git clone git://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld

and at the last I got the error.

Greetings
Torsten

Sean T. Allen schrieb:

How did you install ponyc?

On Sat, Mar 11, 2017 at 5:37 AM, <tsschulz@...
<mailto:tsschulz@...> <mailto:tsschulz@...
<mailto:tsschulz@...>>> wrote:

Hi,

i did install ponyc on Leap 42.1 (opensuse). That seems
like it
was ok. But when I try to compile "Hello World", i become the
following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386
elf_iamcu i386linux elf_l1om elf_k1om aarch64linux aarch64elf
aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb
aarch64linuxb aarch64linux32 aarch64linux32b
armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha
armelf_linux armelfb_linux hppalinux hppa64linux elf64_ia64
m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32
elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux elf32ppc
elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux
elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd
elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu
i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native
-mcx16 -fuse-ld=gold ./helloworld.o
-L"/home/torsten/Programme/ponyc/build/release/"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/"
-L"/home/torsten/Programme/ponyc/build/release/../../packages"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages"
-L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib"
-Wl,--start-group -Wl,--end-group -lponyrt -lpthread -ldl -lm
-Wl,--export-dynamic-symbol=__DescTable
-Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config - or to set. But
I don't
know which one.

Is anyony able to help me?

Greetings

Torsten






On Sat, Mar 11, 2017 at 12:49 PM, Torsten Schulz < tsschulz@... > wrote:
> ld -v
GNU ld (GNU Binutils; openSUSE Leap 42.1) 2.26.1
Sean T. Allen schrieb:
What version of `ld` do you have?
Can you post the output of `ld -v` or `ld --version`?
On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz < tsschulz@... <mailto: tsschulz@... >> wrote:
it isn't installed in a VM but on a real System.
I installed it from the sources like it is described at the
installation page:
$ git clone git:// github.com/ponylang/pony c
< http://github.com/ponylang/po nyc >
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld
and at the last I got the error.
Greetings
Torsten
Sean T. Allen schrieb:
How did you install ponyc?
On Sat, Mar 11, 2017 at 5:37 AM, < tsschulz@...
<mailto: tsschulz@... > <mailto: tsschulz@...

<mailto: tsschulz@... >>> wrote:
i did install ponyc on Leap 42.1 (opensuse). That seems
like it
was ok. But  when I try to compile "Hello World", i become the
following errors:
Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386
elf_iamcu i386linux elf_l1om elf_k1om aarch64linux aarch64elf
aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb
aarch64linuxb aarch64linux32 aarch64linux32b
armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha
armelf_linux armelfb_linux hppalinux hppa64linux elf64_ia64
m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32
elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux elf32ppc
elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux
elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd
elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu
i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native
-mcx16 -fuse-ld=gold ./helloworld.o
-L"/home/torsten/Programme/pon yc/build/release/"
-Wl,-rpath,"/home/torsten/Prog ramme/ponyc/build/release/"
-L"/home/torsten/Programme/pon yc/build/release/../../package s"
-Wl,-rpath,"/home/torsten/Prog ramme/ponyc/build/release/../. ./packages"
-L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib"
-Wl,--start-group -Wl,--end-group  -lponyrt -lpthread -ldl -lm
-Wl,--export-dynamic-symbol=__ DescTable
-Wl,--export-dynamic-symbol=__ DescTableSize
I think that I have to change some config - or to set. But
I don't
know which one.
Is anyony able to help me?
Greetings
Torsten
Sorry actually looking at your command line, you are using ld.gold

Can you send version info for it?

On Sat, Mar 11, 2017 at 12:49 PM, Torsten Schulz <tsschulz@... <mailto:tsschulz@...>> wrote:

> ld -v
GNU ld (GNU Binutils; openSUSE Leap 42.1) 2.26.1

Sean T. Allen schrieb:

What version of `ld` do you have?

Can you post the output of `ld -v` or `ld --version`?

On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz
<tsschulz@... <mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>> wrote:

Hi,

it isn't installed in a VM but on a real System.

I installed it from the sources like it is described at the
installation page:

$ git clone git://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >
< http://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >>
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld

and at the last I got the error.

Greetings
Torsten

Sean T. Allen schrieb:

How did you install ponyc?

On Sat, Mar 11, 2017 at 5:37 AM, <tsschulz@...
<mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>
<mailto:tsschulz@... <mailto:tsschulz@...>

<mailto:tsschulz@... <mailto:tsschulz@...>>>>
wrote:

Hi,

i did install ponyc on Leap 42.1 (opensuse). That
seems
like it
was ok. But when I try to compile "Hello World",
i become the
following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386
elf_iamcu i386linux elf_l1om elf_k1om aarch64linux
aarch64elf
aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb
aarch64linuxb aarch64linux32 aarch64linux32b
armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha
armelf_linux armelfb_linux hppalinux hppa64linux
elf64_ia64
m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32
elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux
elf32ppc
elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux
elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd
elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu
i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native
-mcx16 -fuse-ld=gold ./helloworld.o
-L"/home/torsten/Programme/ponyc/build/release/"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/"
-L"/home/torsten/Programme/ponyc/build/release/../../packages"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages"
-L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib"
-Wl,--start-group -Wl,--end-group -lponyrt -lpthread
-ldl -lm
-Wl,--export-dynamic-symbol=__DescTable
-Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config - or to
set. But
I don't
know which one.

Is anyony able to help me?

Greetings

Torsten












I tried to get more information from the OpenSuse Forum, but didn't get it. Only they told me that I should install the rpm. But that isn't working for me too. When I try this, I become the message "Illegal instruction", like it isn't made for x86_64. But it is the package " https://bintray.com/pony-language/ponyc-rpm/ponyc-release/0.11.0-2836.848b2e1#files" and I think that should work?

Greetings
Torsten

Sean T. Allen schrieb:
toggle quoted message Show quoted text
Sorry actually looking at your command line, you are using ld.gold

Can you send version info for it?

On Sat, Mar 11, 2017 at 12:49 PM, Torsten Schulz <tsschulz@... <mailto:tsschulz@...>> wrote:

> ld -v
GNU ld (GNU Binutils; openSUSE Leap 42.1) 2.26.1

Sean T. Allen schrieb:

What version of `ld` do you have?

Can you post the output of `ld -v` or `ld --version`?

On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz
<tsschulz@... <mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>> wrote:

Hi,

it isn't installed in a VM but on a real System.

I installed it from the sources like it is described at the
installation page:

$ git clone git://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >
< http://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >>
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld

and at the last I got the error.

Greetings
Torsten

Sean T. Allen schrieb:

How did you install ponyc?

On Sat, Mar 11, 2017 at 5:37 AM, <tsschulz@...
<mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>
<mailto:tsschulz@... <mailto:tsschulz@...>

<mailto:tsschulz@... <mailto:tsschulz@...>>>>
wrote:

Hi,

i did install ponyc on Leap 42.1 (opensuse). That
seems
like it
was ok. But when I try to compile "Hello World",
i become the
following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386
elf_iamcu i386linux elf_l1om elf_k1om aarch64linux
aarch64elf
aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb
aarch64linuxb aarch64linux32 aarch64linux32b
armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha
armelf_linux armelfb_linux hppalinux hppa64linux
elf64_ia64
m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32
elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux
elf32ppc
elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux
elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd
elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu
i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native
-mcx16 -fuse-ld=gold ./helloworld.o
-L"/home/torsten/Programme/ponyc/build/release/"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/"
-L"/home/torsten/Programme/ponyc/build/release/../../packages"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages"
-L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib"
-Wl,--start-group -Wl,--end-group -lponyrt -lpthread
-ldl -lm
-Wl,--export-dynamic-symbol=__DescTable
-Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config - or to
set. But
I don't
know which one.

Is anyony able to help me?

Greetings

Torsten












On Mon, Mar 13, 2017 at 6:12 PM, Torsten Schulz < tsschulz@... > wrote:
I tried to get more information from the OpenSuse Forum, but didn't get it. Only they told me that I should install the rpm. But that isn't working for me too. When I try this, I become the message "Illegal instruction", like it isn't made for x86_64. But it is the package " https://bintray.com/pony-lang uage/ponyc-rpm/ponyc-release/ 0.11.0-2836.848b2e1#files " and I think that should work?
Greetings
Torsten
Sean T. Allen schrieb:
Sorry actually looking at your command line, you are using ld.gold
Can you send version info for it?
On Sat, Mar 11, 2017 at 12:49 PM, Torsten Schulz < tsschulz@... <mailto: tsschulz@... >> wrote:
> ld -v
GNU ld (GNU Binutils; openSUSE Leap 42.1) 2.26.1
Sean T. Allen schrieb:
What version of `ld` do you have?
Can you post the output of `ld -v` or `ld --version`?
On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz
< tsschulz@... <mailto: tsschulz@... >
<mailto: tsschulz@... <mailto: tsschulz@... >>> wrote:
it isn't installed in a VM but on a real System.
I installed it from the sources like it is described at the
installation page:
$ git clone git:// github.com/ponylang/pony c
< http://github.com/ponylang/po nyc >
< http://github.com/ponylang/po nyc
< http://github.com/ponylang/po nyc >>
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld
and at the last I got the error.
Greetings
Torsten
Sean T. Allen schrieb:
How did you install ponyc?
On Sat, Mar 11, 2017 at 5:37 AM, < tsschulz@...
<mailto: tsschulz@... >
<mailto: tsschulz@... <mailto: tsschulz@... >>
<mailto: tsschulz@... <mailto: tsschulz@... >
<mailto: tsschulz@... <mailto: tsschulz@... >>>>

wrote:
i did install ponyc on Leap 42.1 (opensuse). That
seems
like it
was ok. But  when I try to compile "Hello World",
i become the
following errors:
Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386
elf_iamcu i386linux elf_l1om elf_k1om aarch64linux
aarch64elf
aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb
aarch64linuxb aarch64linux32 aarch64linux32b
armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha
armelf_linux armelfb_linux hppalinux hppa64linux
elf64_ia64
m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32
elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux
elf32ppc
elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux
elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd
elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu
i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native
-mcx16 -fuse-ld=gold ./helloworld.o
-L"/home/torsten/Programme/pon yc/build/release/"
-Wl,-rpath,"/home/torsten/Prog ramme/ponyc/build/release/"
-L"/home/torsten/Programme/po nyc/build/release/../../packag es"
-Wl,-rpath,"/home/torsten/Pro gramme/ponyc/build/release/../ ../packages"
-L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib"
-Wl,--start-group -Wl,--end-group  -lponyrt -lpthread
-ldl -lm
-Wl,--export-dynamic-symbol=__ DescTable
-Wl,--export-dynamic-symbol=__ DescTableSize
I think that I have to change some config - or to
set. But
I don't
know which one.
Is anyony able to help me?
Greetings
Torsten
On Mon, Mar 13, 2017 at 6:18 PM, Sean Allen < sean@... > wrote:
The illegal instruction error is a known issue that will be fixed with the next release. It means that your computer doesn't have AVX/AVX2 support.


On Mon, Mar 13, 2017 at 6:12 PM, Torsten Schulz < tsschulz@... > wrote:
I tried to get more information from the OpenSuse Forum, but didn't get it. Only they told me that I should install the rpm. But that isn't working for me too. When I try this, I become the message "Illegal instruction", like it isn't made for x86_64. But it is the package " https://bintray.com/pony-lang uage/ponyc-rpm/ponyc-release/0 .11.0-2836.848b2e1#files " and I think that should work?
Greetings
Torsten
Sean T. Allen schrieb:
Sorry actually looking at your command line, you are using ld.gold
Can you send version info for it?
On Sat, Mar 11, 2017 at 12:49 PM, Torsten Schulz < tsschulz@... <mailto: tsschulz@... >> wrote:
> ld -v
GNU ld (GNU Binutils; openSUSE Leap 42.1) 2.26.1
Sean T. Allen schrieb:
What version of `ld` do you have?
Can you post the output of `ld -v` or `ld --version`?
On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz
< tsschulz@... <mailto: tsschulz@... >
<mailto: tsschulz@... <mailto: tsschulz@... >>> wrote:
it isn't installed in a VM but on a real System.
I installed it from the sources like it is described at the
installation page:
$ git clone git:// github.com/ponylang/pony c
< http://github.com/ponylang/po nyc >
< http://github.com/ponylang/po nyc
< http://github.com/ponylang/po nyc >>
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld
and at the last I got the error.
Greetings
Torsten
Sean T. Allen schrieb:
How did you install ponyc?
On Sat, Mar 11, 2017 at 5:37 AM, < tsschulz@...
<mailto: tsschulz@... >
<mailto: tsschulz@... <mailto: tsschulz@... >>
<mailto: tsschulz@... <mailto: tsschulz@... >
<mailto: tsschulz@... <mailto: tsschulz@... >>>>

wrote:
i did install ponyc on Leap 42.1 (opensuse). That
seems
like it
was ok. But  when I try to compile "Hello World",
i become the
following errors:
Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386
elf_iamcu i386linux elf_l1om elf_k1om aarch64linux
aarch64elf
aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb
aarch64linuxb aarch64linux32 aarch64linux32b
armelfb_linux_eabi armelf_linux_eabi elf64alpha alpha
armelf_linux armelfb_linux hppalinux hppa64linux
elf64_ia64
m68kelf m68klinux elf32btsmip elf32ltsmip elf32btsmipn32
elf64btsmip elf32ltsmipn32 elf64ltsmip elf32ppclinux
elf32ppc
elf32ppcsim elf64ppc elf64lppc elf32lppc elf32lppclinux
elf32lppcsim elf_s390 elf64_s390 shlelf_linux shlelf_fd
elf32_sparc sparclinux elf64_sparc sun4 ppcmacos elf32_spu
i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3 -march=native
-mcx16 -fuse-ld=gold ./helloworld.o
-L"/home/torsten/Programme/pon yc/build/release/"
-Wl,-rpath,"/home/torsten/Prog ramme/ponyc/build/release/"
-L"/home/torsten/Programme/po nyc/build/release/../../packag es"
-Wl,-rpath,"/home/torsten/Pro gramme/ponyc/build/release/../ ../packages"
-L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib"
-Wl,--start-group -Wl,--end-group  -lponyrt -lpthread
-ldl -lm
-Wl,--export-dynamic-symbol=__ DescTable
-Wl,--export-dynamic-symbol=__ DescTableSize
I think that I have to change some config - or to
set. But
I don't
know which one.
Is anyony able to help me?
Greetings
Torsten
The illegal instruction error is a known issue that will be fixed with the next release. It means that your computer doesn't have AVX/AVX2 support.


On Mon, Mar 13, 2017 at 6:12 PM, Torsten Schulz <tsschulz@... <mailto:tsschulz@...>> wrote:

I tried to get more information from the OpenSuse Forum, but
didn't get it. Only they told me that I should install the rpm.
But that isn't working for me too. When I try this, I become the
message "Illegal instruction", like it isn't made for x86_64. But
it is the package
" https://bintray.com/pony-language/ponyc-rpm/ponyc-release/0.11.0-2836.848b2e1#files
< https://bintray.com/pony-language/ponyc-rpm/ponyc-release/0.11.0-2836.848b2e1#files >"
and I think that should work?

Greetings
Torsten

Sean T. Allen schrieb:

Sorry actually looking at your command line, you are using ld.gold

Can you send version info for it?

On Sat, Mar 11, 2017 at 12:49 PM, Torsten Schulz
<tsschulz@... <mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>> wrote:

> ld -v
GNU ld (GNU Binutils; openSUSE Leap 42.1) 2.26.1

Sean T. Allen schrieb:

What version of `ld` do you have?

Can you post the output of `ld -v` or `ld --version`?

On Sat, Mar 11, 2017 at 8:23 AM, Torsten Schulz
<tsschulz@... <mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>
<mailto:tsschulz@... <mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>>> wrote:

Hi,

it isn't installed in a VM but on a real System.

I installed it from the sources like it is
described at the
installation page:

$ git clone git://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >
< http://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >>
< http://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >
< http://github.com/ponylang/ponyc
< http://github.com/ponylang/ponyc >>>
$ cd ponyc
$ make
$ ./build/release/ponyc examples/helloworld

and at the last I got the error.

Greetings
Torsten

Sean T. Allen schrieb:

How did you install ponyc?

On Sat, Mar 11, 2017 at 5:37 AM,
<tsschulz@... <mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>
<mailto:tsschulz@...
<mailto:tsschulz@...> <mailto:tsschulz@...
<mailto:tsschulz@...>>>
<mailto:tsschulz@... <mailto:tsschulz@...>
<mailto:tsschulz@... <mailto:tsschulz@...>>

<mailto:tsschulz@...
<mailto:tsschulz@...> <mailto:tsschulz@...
<mailto:tsschulz@...>>>>>

wrote:

Hi,

i did install ponyc on Leap 42.1
(opensuse). That
seems
like it
was ok. But when I try to compile "Hello
World",
i become the
following errors:

Linking ./helloworld
ld: unrecognised emulation mode: cx16
Supported emulations: elf_x86_64
elf32_x86_64 elf_i386
elf_iamcu i386linux elf_l1om elf_k1om aarch64linux
aarch64elf
aarch64elf32 aarch64elf32b aarch64elfb armelf
armelfb
aarch64linuxb aarch64linux32 aarch64linux32b
armelfb_linux_eabi armelf_linux_eabi
elf64alpha alpha
armelf_linux armelfb_linux hppalinux hppa64linux
elf64_ia64
m68kelf m68klinux elf32btsmip elf32ltsmip
elf32btsmipn32
elf64btsmip elf32ltsmipn32 elf64ltsmip
elf32ppclinux
elf32ppc
elf32ppcsim elf64ppc elf64lppc elf32lppc
elf32lppclinux
elf32lppcsim elf_s390 elf64_s390 shlelf_linux
shlelf_fd
elf32_sparc sparclinux elf64_sparc sun4
ppcmacos elf32_spu
i386pep i386pe
Error:
unable to link: ld -o ./helloworld -O3
-march=native
-mcx16 -fuse-ld=gold ./helloworld.o
-L"/home/torsten/Programme/ponyc/build/release/"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/"
-L"/home/torsten/Programme/ponyc/build/release/../../packages"
-Wl,-rpath,"/home/torsten/Programme/ponyc/build/release/../../packages"
-L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib"
-Wl,--start-group -Wl,--end-group -lponyrt
-lpthread
-ldl -lm
-Wl,--export-dynamic-symbol=__DescTable
-Wl,--export-dynamic-symbol=__DescTableSize

I think that I have to change some config
- or to
set. But
I don't
know which one.

Is anyony able to help me?

Greetings

Torsten