GNU bug report logs - #36816
gcc-toolchain 9.1.0 can't link even a tiny simple C program

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Fri, 26 Jul 2019 15:17:02 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36816 in the body.
You can then email your comments to 36816 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36816; Package guix. (Fri, 26 Jul 2019 15:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 26 Jul 2019 15:17:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: gcc-toolchain 9.1.0 can't link even a tiny simple C program
Date: Fri, 26 Jul 2019 17:16:04 +0200
[Message part 1 (text/plain, inline)]
Hi,

so I've got a new drive and installed Guix (from the iso from the homepage) on it.

Then I ran guix pull.

Then I installed gcc-toolchain and tried to compile the following program:

int main() {
	return 42;
}

using

  gcc a.c

but I get:

ld: cannot find crt1.o: No such file or directory
ld: cannot find crti.o: No such file or directory

I tried rebooting, to no avail.

It used to work.

FWIW, I restored my $HOME from backup, but I think the per-user profiles are in
/var/guix/profiles/per-user, and I didn't restore anything in /var.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36816; Package guix. (Fri, 26 Jul 2019 16:26:01 GMT) Full text and rfc822 format available.

Message #8 received at 36816 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 36816 <at> debbugs.gnu.org
Subject: Re: bug#36816: gcc-toolchain 9.1.0 can't link even a tiny simple C
 program
Date: Fri, 26 Jul 2019 18:25:01 +0200
[Message part 1 (text/plain, inline)]
Hmm,

$ guix environment --ad-hoc gcc-toolchain

makes it work in there.

Maybe I forgot to actually reboot?  brb...
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
You have taken responsibility. (Sat, 27 Jul 2019 13:26:03 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Sat, 27 Jul 2019 13:26:03 GMT) Full text and rfc822 format available.

Message #13 received at 36816-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 36816-done <at> debbugs.gnu.org
Subject: Re: bug#36816: gcc-toolchain 9.1.0 can't link even a tiny simple C
 program
Date: Sat, 27 Jul 2019 15:24:54 +0200
[Message part 1 (text/plain, inline)]
Yep, works after reboot.  Sorry for the noise.
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 25 Aug 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.