mailing list of musl libc
 help / color / mirror / code / Atom feed
From: John Found <johnfound@asm32.info>
To: musl mainling list <musl@lists.openwall.com>
Subject: Error on compiling musl for i386.
Date: Sat, 5 Mar 2016 19:58:42 +0200	[thread overview]
Message-ID: <20160305195842.65e4d4103f891699f1d9e695@asm32.info> (raw)

Hello all!

It is about musl v1.1.14

I am trying with:

#./configure --host=i386
#make

But get the following error:

sed -f ./tools/mkalltypes.sed ./arch/i386/bits/alltypes.h.in ./include/alltypes.h.in > obj/include/bits/alltypes.h
gcc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/i386 -I./arch/generic -Iobj/src/internal -I./src/internal -Iobj/include -I./include  -Os -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -mtune=generic -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -include vis.h  -fPIC -fno-stack-protector -DCRT -c -o obj/crt/Scrt1.o crt/Scrt1.c
{standard input}: Assembler messages:
{standard input}:11: Error: operand type mismatch for `push'
{standard input}:12: Error: operand type mismatch for `push'
{standard input}:15: Error: operand type mismatch for `push'
Makefile:151: recipe for target 'obj/crt/Scrt1.o' failed
make: *** [obj/crt/Scrt1.o] Error 1


What I am doing wrong? 

Notice: My C/C++ programming skills are close to zero, so please explain simple. :)

Best Regards
-- 
http://fresh.flatassembler.net
http://asm32.info
John Found <johnfound@asm32.info>


             reply	other threads:[~2016-03-05 17:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05 17:58 John Found [this message]
2016-03-05 21:18 ` Rich Felker
2016-03-05 21:46   ` John Found

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160305195842.65e4d4103f891699f1d9e695@asm32.info \
    --to=johnfound@asm32.info \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).