Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-06

si_c21.inc(57, 1) Error: Unrecognized opcode: At revision 24956.

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Eric Kom

make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all ......
si_c21.inc(57,1) Error: Unrecognized opcode
si_c21.inc(57,1) Error: Assembler syntax error
si_c21.pp(27) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted
make[7]: *** [si_c21.ppu] Error 1
make[7]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl/linux' make[6]: *** [linux_all] Error 2
make[6]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl' make[5]: *** [rtl] Error 2
make[5]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[4]: *** [next] Error 2
make[4]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[3]: *** [ppc1] Error 2
make[3]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[2]: *** [cycle] Error 2
make[2]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `/home/erickom/fpcBuild/fpc' make: *** [build-stamp.i386-linux] Error 2

Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email

Pierre Free Pascal
to Eric Kom

Hi Eric,

the cycle seems to run without problems on tonight's linux VM. It happens that si_c21.inc only exists for i386-linux target, but when you send such an email, it would be nice to specify which cpu and os your are using as host
and possibly the target if you are cross-compiling...

Did you also check if your svn checkout is clean?
What is at line 57 of your rtl/linux/i386/si_c21.inc maybe the file was edited locally and 'svn update' resulted in a conflict.

Another possible explanation is that your assembler is not for the correct CPU.

Please give us more information so we can help you.

Pierre Muller

Show quoted text 61 lines
-----Message d'origine----- De : [mailto:fpc-pascal- De la part de Eric Kom Envoyé : lundi 24 juin 2013 07:40 À : Objet : [fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At revision 24956. make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all ...... si_c21.inc(57,1) Error: Unrecognized opcode si_c21.inc(57,1) Error: Assembler syntax error si_c21.pp(27) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted make[7]: *** [si_c21.ppu] Error 1 make[7]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl/linux' make[6]: *** [linux_all] Error 2 make[6]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl' make[5]: *** [rtl] Error 2 make[5]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[4]: *** [next] Error 2 make[4]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[3]: *** [ppc1] Error 2 make[3]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[2]: *** [cycle] Error 2 make[2]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' make[1]: *** [compiler_cycle] Error 2 make[1]: Leaving directory `/home/erickom/fpcBuild/fpc' make: *** [build-stamp.i386-linux] Error 2 -- Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5 _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Eric Kom
to Pierre Free Pascal: the cycle seems to run without problems on tonight's linux VM. It happens that si_c21.inc…
Pierre Free Pascal wrote 7 lines
Hi Eric, the cycle seems to run without problems on tonight's linux VM. It happens that si_c21.inc only exists for i386-linux target, but when you send such an email, it would be nice to specify which cpu and os your are using as host and possibly the target if you are cross-compiling...

uname -a
Linux cloudOne 3.9-1-686-pae #1 SMP Debian 3.9.6-1 i686 GNU/Linux

Did you also check if your svn checkout is clean? What is at line 57 of your rtl/linux/i386/si_c21.inc

procedure _FPC_libc21_start; assembler; nostackframe; public name '_start'; asm
] xorl %ebp,%ebp
{ First locate the start of the environment variables }

the ] was found at the line 57.

I removed it and it works.

I don't know how the symbol manage to get there.

Thanks

Show quoted text 75 lines
maybe the file was edited locally and 'svn update' resulted in a conflict. Another possible explanation is that your assembler is not for the correct CPU. Please give us more information so we can help you. Pierre Muller > -----Message d'origine----- > De : [mailto:fpc-pascal- > De la part de Eric Kom > Envoyé : lundi 24 juin 2013 07:40 > À : > Objet : [fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At > revision 24956. > > make OVERRIDEVERSIONCHECK=1 NOGDB=1 OPT='-O- -gl -Xs-' all > ...... > si_c21.inc(57,1) Error: Unrecognized opcode > si_c21.inc(57,1) Error: Assembler syntax error > si_c21.pp(27) Fatal: There were 2 errors compiling module, stopping > Fatal: Compilation aborted > make[7]: *** [si_c21.ppu] Error 1 > make[7]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl/linux' > make[6]: *** [linux_all] Error 2 > make[6]: Leaving directory `/home/erickom/fpcBuild/fpc/rtl' > make[5]: *** [rtl] Error 2 > make[5]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' > make[4]: *** [next] Error 2 > make[4]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' > make[3]: *** [ppc1] Error 2 > make[3]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' > make[2]: *** [cycle] Error 2 > make[2]: Leaving directory `/home/erickom/fpcBuild/fpc/compiler' > make[1]: *** [compiler_cycle] Error 2 > make[1]: Leaving directory `/home/erickom/fpcBuild/fpc' > make: *** [build-stamp.i386-linux] Error 2 > > -- > Kind Regards > > Eric Kom > > System Administrator & Programmer - Metropolitan College > _________________________________________ > / You are scrupulously honest, frank, and \ > | straightforward. Therefore you have few | > \ friends. / > ----------------------------------------- > \ > \ > .--. > |o_o | > |:_/ | > // \ \ > (| Kom | ) > /'\_ _/`\ > \___)=(___/ > > 2 Hennie Van Till, White River, 1240 > Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 > | > www.kom.za.net | www.kom.za.org | www.erickom.co.za > > Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5 > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College _________________________________________ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends. / ----------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| Kom | ) /'\_ _/`\ \___)=(___/ 2 Hennie Van Till, White River, 1240 Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334 | www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5

Reply by email