mailing list of musl libc
 help / color / mirror / code / Atom feed
From: argante <argante@pm.me>
To: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: Re: using musl-cross-make to build host gcc
Date: Sun, 11 Nov 2018 14:23:56 +0000	[thread overview]
Message-ID: <HFIMUWvSNRuKnS6eqNn1bHHLf2hlUV-nr5bDEM0OqeLH3-Hg259uNYYrsYqg5SYpSQgZrcy8OeSRnY6UFeLBMg==@pm.me> (raw)
In-Reply-To: <20181111141331.GB15979@voyager>

> Hi,
>
> look into config.log. It will tell you what really went on. If you see
> an error from configure, then a configure check failed. Likely some
> header file behaving differently than what they expected, justified or
> not.
>
> Ciao,
> Markus


# cat /tmp/ports/gcc/work/gcc-7.3.0/host-x86_64-linux-musl/gcc/config.log
language_hooks=''
option_includes=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define SIZEOF_VOID_P 0
#define SIZEOF_SHORT 0
#define SIZEOF_INT 0
#define SIZEOF_LONG 0
#define HAVE_LONG_LONG 1

configure: exit 77

As you can see, the sizeof for types is incorrectly set to 0. config.log does not add anything to what I wrote earlier.




  reply	other threads:[~2018-11-11 14:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-11 11:11 argante
2018-11-11 14:13 ` Markus Wichmann
2018-11-11 14:23   ` argante [this message]
2018-11-11 19:39     ` argante
2018-11-11 19:46     ` Michael Forney
2018-11-11 20:00       ` argante
2018-11-11 21:13         ` Michael Forney
2018-11-11 21:39           ` argante

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='HFIMUWvSNRuKnS6eqNn1bHHLf2hlUV-nr5bDEM0OqeLH3-Hg259uNYYrsYqg5SYpSQgZrcy8OeSRnY6UFeLBMg==@pm.me' \
    --to=argante@pm.me \
    --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).