unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36816: gcc-toolchain 9.1.0 can't link even a tiny simple C program
@ 2019-07-26 15:16 Danny Milosavljevic
  2019-07-26 16:25 ` Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2019-07-26 15:16 UTC (permalink / raw)
  To: 36816

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

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.

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36816: gcc-toolchain 9.1.0 can't link even a tiny simple C program
  2019-07-26 15:16 bug#36816: gcc-toolchain 9.1.0 can't link even a tiny simple C program Danny Milosavljevic
@ 2019-07-26 16:25 ` Danny Milosavljevic
  2019-07-27 13:24   ` Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2019-07-26 16:25 UTC (permalink / raw)
  To: 36816

[-- Attachment #1: Type: text/plain, Size: 124 bytes --]

Hmm,

$ guix environment --ad-hoc gcc-toolchain

makes it work in there.

Maybe I forgot to actually reboot?  brb...

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#36816: gcc-toolchain 9.1.0 can't link even a tiny simple C program
  2019-07-26 16:25 ` Danny Milosavljevic
@ 2019-07-27 13:24   ` Danny Milosavljevic
  0 siblings, 0 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2019-07-27 13:24 UTC (permalink / raw)
  To: 36816-done

[-- Attachment #1: Type: text/plain, Size: 48 bytes --]

Yep, works after reboot.  Sorry for the noise.

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-27 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-26 15:16 bug#36816: gcc-toolchain 9.1.0 can't link even a tiny simple C program Danny Milosavljevic
2019-07-26 16:25 ` Danny Milosavljevic
2019-07-27 13:24   ` Danny Milosavljevic

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).