[fpc-pascal] si_c21.inc(57, 1) Error: Unrecognized opcode: At revision 24956.

Eric Kom erickom at metropolitancollege.co.za
Mon Jun 24 11:19:53 CEST 2013


On 24/06/2013 09:48, Pierre Free Pascal wrote:
>    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...
erickom at cloudOne:~/fpcBuild/fpc$ 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
> 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 : fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
>> bounces at lists.freepascal.org] De la part de Eric Kom
>> Envoyé : lundi 24 juin 2013 07:40
>> À : fpc-pascal at lists.freepascal.org
>> 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
>> erickom at kom.za.net | erickom at metropolitancollege.co.za
>> 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  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> 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
erickom at kom.za.net | erickom at metropolitancollege.co.za
www.kom.za.net | www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5




More information about the fpc-pascal mailing list