From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27746 invoked from network); 13 May 2020 16:58:06 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 13 May 2020 16:58:06 -0000 Received: (qmail 14220 invoked by uid 550); 13 May 2020 16:58:04 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 14189 invoked from network); 13 May 2020 16:58:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6A9+PgsR74p9gGQ95mXIJexE/c26UXzDJz0obJ8Vs4Q=; b=eTjJTaffh5dSSkWTRQsOQgVmtjk0WPM2xXeSOXzi0/tQunM0WaEQ9OitrV5NSAVyp4 7AEnJly9egNcVkCQeolfhWO+TFQF/kg8CwDePFyB63rm/Ofb4hLXjcK1C+AgHUbgBI4F VG0MuYKkS5C1J0/IFlLT/k6z9fhnI8hxgu3y8Yn70xUrVw3vW47dnNCtLfnYG0h+lJjp HaT/BgMSURO9z56YzHG2oFQBBttizjBU7IaUlfr0Y4ecQPhLM43NBRXm3WplAJnTa4H8 tbPdXxN4/KVhdRXp9oKQxuNYBbwNdEEL70t6ZFJI0v/JY+jdlJqcSqSJ1KCbNRclsjpn pDmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6A9+PgsR74p9gGQ95mXIJexE/c26UXzDJz0obJ8Vs4Q=; b=szPHboFrSUfn+7J2wG4lqN2ekhaBJOzl0/kFUX1DtoxOTw1DQGPmfLqPNyDE+x1mkC aNntaOiiSuIYam9GstMcImu0n9jOJmKV+JSELz2x/GA4GRs1jOLmT9/Z6pZgQIpcRrT3 fKTi6FrVDepjhrfyUNI38D8EKo9r+NwtIm8cD9KXjWy1QMnELqXGpUzT+eg16sOEVRcI N98eslAw7vyKXPlbE/WITdjA0xOBQISdNTI4wR38FCPb58UWzQdSGAdCAlAGa39+6zHk +zgaYca5dfJbUujK5okrKAcrlF8wiOPzEwqkH0phkJQ4clTkJF+mPcnSIiak623slesY KOxQ== X-Gm-Message-State: AOAM530eMBxUbznZe6qNQc3+fvhEgfTyq7G70baPzJdcJlkqHmzppTLf WPmnsMl25+/Z4gyH+MTkkYFJD9UoWKlbnTwfNuY= X-Google-Smtp-Source: ABdhPJyvdLmBWmZG6zDGRNse4U1OtvH/k66zK4CeiGAD7eHEinvIKC5D//W1wP0OyG1JCk+l6aLzOc1hUqHOBXYVwTc= X-Received: by 2002:a05:6e02:e03:: with SMTP id a3mr364225ilk.239.1589389071431; Wed, 13 May 2020 09:57:51 -0700 (PDT) MIME-Version: 1.0 References: <20200512212127.GQ21576@brightrain.aerifal.cx> <5ae8c7fa-aed9-d957-fe53-68eb2fa622a6@ludd.ltu.se> In-Reply-To: <5ae8c7fa-aed9-d957-fe53-68eb2fa622a6@ludd.ltu.se> From: John Arnold Date: Wed, 13 May 2020 12:00:24 -0500 Message-ID: To: Anders Magnusson Cc: Rich Felker , musl@lists.openwall.com, pcc@lists.ludd.ltu.se Content-Type: text/plain; charset="UTF-8" Subject: [musl] Re: [Pcc] [musl] PCC unable to build musl 1.2.0 (and likely earlier) > Can you please sen med the offending line? include/limits.h:10: #if '\xff' > 0 > Same here, can you send me the line that causes the bug? > And true, __builtin_complex is not recognized in pcc. catan.c:105 is: w = CMPLX(w, 0.25 * log(a)); which pcc -E expands to: w = ((union { _Complex double __z; double __xy[2]; }){.__xy = {(w),(0.25 * log(a))}}.__z); Rich is right, changing line 105 to: w = w+0.25*log(a)*I solves the problem, but then we get the bad register name `%%ax' error when trying to assemble catan.o. Running make -j also reveals that this assembly error pops up in more places, at least also catanl.o, catanf.o, and csqrt.o.