delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/06/29/05:15:16

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.224.55.200 with SMTP id v8mr5643404qag.7.1372496170468;
Sat, 29 Jun 2013 01:56:10 -0700 (PDT)
X-Received: by 10.49.12.141 with SMTP id y13mr434579qeb.41.1372496170445; Sat,
29 Jun 2013 01:56:10 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Sat, 29 Jun 2013 01:56:10 -0700 (PDT)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=95.28.213.249;
posting-account=nu_e-AoAAACYQOcAKQ31NWF_OGDHFEO_
NNTP-Posting-Host: 95.28.213.249
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8841aaec-dff9-4fcb-b46c-ac9f07a12e7a@googlegroups.com>
Subject: LIBFFI for DJGPP
From: Vasya Pupkin <tamarafedotova01 AT gmail DOT com>
Injection-Date: Sat, 29 Jun 2013 08:56:10 +0000
Bytes: 2795
Lines: 46
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I try to compile library LIBFFI (http://sourceware.org/libffi/) for DJGPP.
Script "configure" worked successfully and produced makefile.
But there is the problem during execution of this makefile.
It connects with assembler file "sysv.s", which is located in "src\x86" directory.
Assembling this file leads to the following group of very similar mistakes:

....

../src/x86/sysv.S:173: Warning: .type pseudo-op used outside of .def/.endef igno
red.
../src/x86/sysv.S:173: Error: junk at end of line, first unrecognized character
is `f'
../src/x86/sysv.S:255: Warning: .size pseudo-op used outside of .def/.endef igno
red.
../src/x86/sysv.S:255: Error: junk at end of line, first unrecognized character
is `f'
../src/x86/sysv.S:278: Warning: .type pseudo-op used outside of .def/.endef igno
red.
../src/x86/sysv.S:278: Error: junk at end of line, first unrecognized character
is `f'
../src/x86/sysv.S:339: Warning: .size pseudo-op used outside of .def/.endef igno
red.
../src/x86/sysv.S:339: Error: junk at end of line, first unrecognized character
is `f'
../src/x86/sysv.S:364: Error: junk at end of line, first unrecognized character
is `,'

....

Content of the erroneous strings also is very similar:

String 173:
        .type   ffi_closure_SYSV, @function
String 255:
        .size   ffi_closure_SYSV, .-ffi_closure_SYSV
String 278:
        .type   ffi_closure_raw_SYSV, @function
String 339:
        .size   ffi_closure_raw_SYSV, .-ffi_closure_raw_SYSV
String 364:
        .section        .eh_frame,EH_FRAME_FLAGS,@progbits
....

I wrote assembler programs only for MASM/TASM.
GAS with its directives and AT&T syntax is fully obscure thing for me.
Can anybody explain me a cause of this errors and point the way to fix it?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019