unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Manolis Ragkousis <manolis837@gmail.com>
Cc: Guix-devel@gnu.org
Subject: Re: Glibc/hurd work till now
Date: Tue, 18 Mar 2014 21:34:35 +0100	[thread overview]
Message-ID: <87y507fdpg.fsf@gnu.org> (raw)
In-Reply-To: <CAFtzXzPiV7Jem-SFoDdGiGNVK3idJZkVxSYnmRPr7pytHGW8iw@mail.gmail.com> (Manolis Ragkousis's message of "Tue, 18 Mar 2014 19:06:31 +0000")

Manolis Ragkousis <manolis837@gmail.com> skribis:

> configure:2931: checking whether the C compiler works
> configure:2953: i686-pc-gnu-gcc    conftest.c  >&5
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld: cannot find crt1.o: No such file or directory
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld: cannot find crti.o: No such file or directory
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld: cannot find -lc
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld: cannot find crtn.o: No such file or directory
> collect2: error: ld returned 1 exit status
> configure:2957: $? = 1
> configure:2995: result: no

At this stage there’s no libc, so no crt*.o (C run-time initialization
files.)  Thus the above test cannot be run.

I think we’ll have to cheat by passing --build=i686-pc-gnu and removing
--host.  This is actually what I did in Nixpkgs:

  https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/gnu/hurd/default.nix

Then the ‘build’ phase must be skipped, and the ‘install’ phase must
just do ‘make install-headers’.

HTH,
Ludo’.

  reply	other threads:[~2014-03-18 20:34 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18 10:02 Glibc/hurd work till now Manolis Ragkousis
2014-03-18 10:57 ` Ludovic Courtès
     [not found]   ` <CAFtzXzNSuz-wx2SDUafTvqtmRUbfOohO2-Nfzy7LYKd-wuWFWQ@mail.gmail.com>
2014-03-18 11:10     ` Fwd: " Manolis Ragkousis
2014-03-18 13:32 ` Ludovic Courtès
2014-03-18 14:55   ` Andreas Enge
2014-03-18 16:04     ` Ludovic Courtès
2014-03-18 19:06       ` Manolis Ragkousis
2014-03-18 20:34         ` Ludovic Courtès [this message]
2014-03-18 20:41           ` Manolis Ragkousis
2014-03-19 19:38             ` Manolis Ragkousis
2014-03-19 20:17               ` Ludovic Courtès
2014-03-19 20:47                 ` Manolis Ragkousis
2014-03-19 21:58                   ` Ludovic Courtès
2014-03-20 16:02                     ` Manolis Ragkousis
2014-03-20 20:42                       ` libpthread fails to build as an add-on Ludovic Courtès
2014-03-20 20:58                         ` Manolis Ragkousis
2014-03-23  8:28                           ` Manolis Ragkousis
2014-03-23  9:17                             ` Manolis Ragkousis
2014-03-23 21:38                               ` Ludovic Courtès
2014-03-21 23:23                       ` Glibc/hurd work till now Manolis Ragkousis
2014-03-22 14:16                         ` Ludovic Courtès
2014-03-22 16:13                           ` Manolis Ragkousis

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87y507fdpg.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=Guix-devel@gnu.org \
    --cc=manolis837@gmail.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.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).