mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <ibid.ag@gmail.com>
To: Anders Magnusson <ragge@ludd.ltu.se>
Cc: musl@lists.openwall.com, pcc@lists.ludd.ltu.se
Subject: Re: [Pcc] pcc i386 -fPIC compiler error on src/complex/catanf.c
Date: Mon, 5 Jan 2015 15:25:57 -0800	[thread overview]
Message-ID: <20150105232556.GA1781@newbook> (raw)
In-Reply-To: <54AA67EF.8000104@ludd.ltu.se>

On Mon, Jan 05, 2015 at 11:31:11AM +0100, Anders Magnusson wrote:
> Thanks, fixed now.
> Float complex struct return were not dealt with as it should in the PIC
> case.
> 

Thank you, but I'm afraid that now I'm getting another error for most code
when I compile with -fPIC:
$ pcc -fPIC argvname.c -o argvname
/tmp/ctm.HhEooN: Assembler messages:
/tmp/ctm.HhEooN:1: Error: no such instruction: `pucext'
/tmp/ctm.HhEooN:2: Error: junk at end of line, first unrecognized character is `0'
/tmp/ctm.HhEooN:3: Error: junk at end of line, first unrecognized character is `0'
/tmp/ctm.HhEooN:4: Error: junk at end of line, first unrecognized character is `0'
/tmp/ctm.HhEooN:5: Error: junk at end of line, first unrecognized character is `0'
/tmp/ctm.HhEooN:6: Error: junk at end of line, first unrecognized character is `0'
/tmp/ctm.HhEooN:7: Error: junk at end of line, first unrecognized character is `0'
/tmp/ctm.HhEooN:8: Error: junk at end of line, first unrecognized character is `0'
error: as terminated with status 1


argvname.c is a trivial example, as follows:
#include <stdio.h>

int main(int argc, char *argv[])
{
	puts(argv[0]);
}
EOF

I'm getting the impression that this was debugging code dumping some of
the compiler state (at line 174, arch/i386/local.c).
Is that correct?

Thanks,
Isaac Dunham


  reply	other threads:[~2015-01-05 23:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-04  5:53 Isaac Dunham
2015-01-04 17:47 ` Iain Hibbert
2015-01-04 18:01   ` Re: [Pcc] " Rich Felker
2015-01-04 19:26     ` Jens Gustedt
2015-01-04 19:24   ` Anders Magnusson
2015-01-04 21:04     ` Isaac Dunham
2015-01-04 21:54       ` Isaac Dunham
2015-01-05 10:31       ` Anders Magnusson
2015-01-05 23:25         ` Isaac Dunham [this message]
2015-01-06  3:27           ` [Pcc] " Anders Magnusson

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=20150105232556.GA1781@newbook \
    --to=ibid.ag@gmail.com \
    --cc=musl@lists.openwall.com \
    --cc=pcc@lists.ludd.ltu.se \
    --cc=ragge@ludd.ltu.se \
    /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).