unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cross-compilation to GNU/Hurd broken on core-updates
@ 2017-06-07 22:01 Ludovic Courtès
  2017-06-07 22:04 ` Manolis Ragkousis
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ludovic Courtès @ 2017-06-07 22:01 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: guix-devel

Hello Manolis and all!

On ‘core-updates’, the cross-compiler for i586-pc-gnu fails to build:

  https://hydra.gnu.org/build/2099030

The relevant part is:

--8<---------------cut here---------------start------------->8---
checking whether i586-pc-gnu-gcc supports -Wall... yes
checking for socket libraries... checking for connect... /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-constants.h insn-constants.h
echo timestamp > s-constants
build/genenums ../../gcc-5.4.0/gcc/common.md ../../gcc-5.4.0/gcc/config/i386/i386.md \
   > tmp-enums.c
/gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-enums.c insn-enums.c
yes
checking for gethostbyname... echo timestamp > s-enums
g++ -c -DIN_GCC     -DGENERATOR_FILE -I. -Ibuild -I../../gcc-5.4.0/gcc -I../../gcc-5.4.0/gcc/build -I../../gcc-5.4.0/gcc/../include  -I../../gcc-5.4.0/gcc/../libcpp/include  \
	-o build/min-insn-modes.o min-insn-modes.c
yes

checking for exported symbols... /tmp/guix-build-gcc-5.4.0.drv-0/gcc-5.4.0/libcc1/configure: line 14531: -T: command not found
yes
checking for -rdynamic... /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-gtype.state gtype.state
g++ -c -DIN_GCC     -DGENERATOR_FILE -I. -Ibuild -I../../gcc-5.4.0/gcc -I../../gcc-5.4.0/gcc/build -I../../gcc-5.4.0/gcc/../include  -I../../gcc-5.4.0/gcc/../libcpp/include  \
	-o build/gencheck.o ../../gcc-5.4.0/gcc/gencheck.c
build/gengtype  \
                    -r gtype.state
/tmp/guix-build-gcc-5.4.0.drv-0/gcc-5.4.0/libcc1/configure: line 14541: -T: command not found
no
checking for library containing dlopen... echo timestamp > s-gtype
if [ xinfo = xinfo ]; then \
	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-5.4.0/gcc/doc \
		-I ../../gcc-5.4.0/gcc/doc/include -o doc/gccint.info ../../gcc-5.4.0/gcc/doc/gccint.texi; \
fi
g++ -DIN_GCC     -DGENERATOR_FILE  -o build/gencheck \
    build/gencheck.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
-ldl
checking for -fPIC -shared... yes
configure: error: 
   Building GCC with plugin support requires a host that supports
   -fPIC, -shared, -ldl and -rdynamic.
make[1]: *** [Makefile:9376: configure-libcc1] Error 1
--8<---------------cut here---------------end--------------->8---

I’m not sure if anything changed in this area compared to ‘master’.

Ideas?

Thanks,
Ludo’.

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

* Re: Cross-compilation to GNU/Hurd broken on core-updates
  2017-06-07 22:01 Cross-compilation to GNU/Hurd broken on core-updates Ludovic Courtès
@ 2017-06-07 22:04 ` Manolis Ragkousis
  2017-06-08 19:32   ` Manolis Ragkousis
  2017-06-07 22:04 ` Manolis Ragkousis
  2017-06-07 22:15 ` Ludovic Courtès
  2 siblings, 1 reply; 6+ messages in thread
From: Manolis Ragkousis @ 2017-06-07 22:04 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Hello Ludo,

I will reproduce it locally and track the problem. Probably a package
update in core-updates is causing this. I will report back.

Manolis

On 06/08/17 01:01, Ludovic Courtès wrote:
> Hello Manolis and all!
> 
> On ‘core-updates’, the cross-compiler for i586-pc-gnu fails to build:
> 
>   https://hydra.gnu.org/build/2099030
> 
> The relevant part is:
> 
> --8<---------------cut here---------------start------------->8---
> checking whether i586-pc-gnu-gcc supports -Wall... yes
> checking for socket libraries... checking for connect... /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-constants.h insn-constants.h
> echo timestamp > s-constants
> build/genenums ../../gcc-5.4.0/gcc/common.md ../../gcc-5.4.0/gcc/config/i386/i386.md \
>    > tmp-enums.c
> /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-enums.c insn-enums.c
> yes
> checking for gethostbyname... echo timestamp > s-enums
> g++ -c -DIN_GCC     -DGENERATOR_FILE -I. -Ibuild -I../../gcc-5.4.0/gcc -I../../gcc-5.4.0/gcc/build -I../../gcc-5.4.0/gcc/../include  -I../../gcc-5.4.0/gcc/../libcpp/include  \
> 	-o build/min-insn-modes.o min-insn-modes.c
> yes
> 
> checking for exported symbols... /tmp/guix-build-gcc-5.4.0.drv-0/gcc-5.4.0/libcc1/configure: line 14531: -T: command not found
> yes
> checking for -rdynamic... /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-gtype.state gtype.state
> g++ -c -DIN_GCC     -DGENERATOR_FILE -I. -Ibuild -I../../gcc-5.4.0/gcc -I../../gcc-5.4.0/gcc/build -I../../gcc-5.4.0/gcc/../include  -I../../gcc-5.4.0/gcc/../libcpp/include  \
> 	-o build/gencheck.o ../../gcc-5.4.0/gcc/gencheck.c
> build/gengtype  \
>                     -r gtype.state
> /tmp/guix-build-gcc-5.4.0.drv-0/gcc-5.4.0/libcc1/configure: line 14541: -T: command not found
> no
> checking for library containing dlopen... echo timestamp > s-gtype
> if [ xinfo = xinfo ]; then \
> 	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-5.4.0/gcc/doc \
> 		-I ../../gcc-5.4.0/gcc/doc/include -o doc/gccint.info ../../gcc-5.4.0/gcc/doc/gccint.texi; \
> fi
> g++ -DIN_GCC     -DGENERATOR_FILE  -o build/gencheck \
>     build/gencheck.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
> -ldl
> checking for -fPIC -shared... yes
> configure: error: 
>    Building GCC with plugin support requires a host that supports
>    -fPIC, -shared, -ldl and -rdynamic.
> make[1]: *** [Makefile:9376: configure-libcc1] Error 1
> --8<---------------cut here---------------end--------------->8---
> 
> I’m not sure if anything changed in this area compared to ‘master’.
> 
> Ideas?
> 
> Thanks,
> Ludo’.
> 

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

* Re: Cross-compilation to GNU/Hurd broken on core-updates
  2017-06-07 22:01 Cross-compilation to GNU/Hurd broken on core-updates Ludovic Courtès
  2017-06-07 22:04 ` Manolis Ragkousis
@ 2017-06-07 22:04 ` Manolis Ragkousis
  2017-06-07 22:15 ` Ludovic Courtès
  2 siblings, 0 replies; 6+ messages in thread
From: Manolis Ragkousis @ 2017-06-07 22:04 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Hello Ludo,

I will reproduce it locally and track the problem. Probably a package
update in core-updates is causing this. I will report back.

Manolis

On 06/08/17 01:01, Ludovic Courtès wrote:
> Hello Manolis and all!
> 
> On ‘core-updates’, the cross-compiler for i586-pc-gnu fails to build:
> 
>   https://hydra.gnu.org/build/2099030
> 
> The relevant part is:
> 
> --8<---------------cut here---------------start------------->8---
> checking whether i586-pc-gnu-gcc supports -Wall... yes
> checking for socket libraries... checking for connect... /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-constants.h insn-constants.h
> echo timestamp > s-constants
> build/genenums ../../gcc-5.4.0/gcc/common.md ../../gcc-5.4.0/gcc/config/i386/i386.md \
>    > tmp-enums.c
> /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-enums.c insn-enums.c
> yes
> checking for gethostbyname... echo timestamp > s-enums
> g++ -c -DIN_GCC     -DGENERATOR_FILE -I. -Ibuild -I../../gcc-5.4.0/gcc -I../../gcc-5.4.0/gcc/build -I../../gcc-5.4.0/gcc/../include  -I../../gcc-5.4.0/gcc/../libcpp/include  \
> 	-o build/min-insn-modes.o min-insn-modes.c
> yes
> 
> checking for exported symbols... /tmp/guix-build-gcc-5.4.0.drv-0/gcc-5.4.0/libcc1/configure: line 14531: -T: command not found
> yes
> checking for -rdynamic... /gnu/store/s1r43qhlmcf1fhnrsjgsnc40862070cl-bash-minimal-4.4.12/bin/bash ../../gcc-5.4.0/gcc/../move-if-change tmp-gtype.state gtype.state
> g++ -c -DIN_GCC     -DGENERATOR_FILE -I. -Ibuild -I../../gcc-5.4.0/gcc -I../../gcc-5.4.0/gcc/build -I../../gcc-5.4.0/gcc/../include  -I../../gcc-5.4.0/gcc/../libcpp/include  \
> 	-o build/gencheck.o ../../gcc-5.4.0/gcc/gencheck.c
> build/gengtype  \
>                     -r gtype.state
> /tmp/guix-build-gcc-5.4.0.drv-0/gcc-5.4.0/libcc1/configure: line 14541: -T: command not found
> no
> checking for library containing dlopen... echo timestamp > s-gtype
> if [ xinfo = xinfo ]; then \
> 	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-5.4.0/gcc/doc \
> 		-I ../../gcc-5.4.0/gcc/doc/include -o doc/gccint.info ../../gcc-5.4.0/gcc/doc/gccint.texi; \
> fi
> g++ -DIN_GCC     -DGENERATOR_FILE  -o build/gencheck \
>     build/gencheck.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
> -ldl
> checking for -fPIC -shared... yes
> configure: error: 
>    Building GCC with plugin support requires a host that supports
>    -fPIC, -shared, -ldl and -rdynamic.
> make[1]: *** [Makefile:9376: configure-libcc1] Error 1
> --8<---------------cut here---------------end--------------->8---
> 
> I’m not sure if anything changed in this area compared to ‘master’.
> 
> Ideas?
> 
> Thanks,
> Ludo’.
> 

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

* Re: Cross-compilation to GNU/Hurd broken on core-updates
  2017-06-07 22:01 Cross-compilation to GNU/Hurd broken on core-updates Ludovic Courtès
  2017-06-07 22:04 ` Manolis Ragkousis
  2017-06-07 22:04 ` Manolis Ragkousis
@ 2017-06-07 22:15 ` Ludovic Courtès
  2 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2017-06-07 22:15 UTC (permalink / raw)
  To: Manolis Ragkousis, Efraim Flashner; +Cc: guix-devel

Hi again!

ludo@gnu.org (Ludovic Courtès) skribis:

> checking for -fPIC -shared... yes
> configure: error: 
>    Building GCC with plugin support requires a host that supports
>    -fPIC, -shared, -ldl and -rdynamic.
> make[1]: *** [Makefile:9376: configure-libcc1] Error 1

The cross-compiler to aarch64-linux-gnu fails in exactly the same way:

  https://hydra.gnu.org/build/2099405

Ludo’.

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

* Re: Cross-compilation to GNU/Hurd broken on core-updates
  2017-06-07 22:04 ` Manolis Ragkousis
@ 2017-06-08 19:32   ` Manolis Ragkousis
  2017-06-11 20:33     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Manolis Ragkousis @ 2017-06-08 19:32 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Hey Ludo,

Locally on the latest core-updates
70eea6ea14590a5a13656148915bd62f5fecf5f7 running `./pre-inst-env guix
build --target=i586-pc-gnu bootstrap-tarballs --fallback' builds
successfully.

10:27:47 manolis@aeneas ~/repos/guix [env]$ ./pre-inst-env guix build
--target=i586-pc-gnu bootstrap-tarballs --fallback
/gnu/store/wxc24a87bqqd3dwhbg8wh8ahmwycn1lj-bootstrap-tarballs-0

Are you sure the problem was on core-updates? Or am I missing something?

Manolis

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

* Re: Cross-compilation to GNU/Hurd broken on core-updates
  2017-06-08 19:32   ` Manolis Ragkousis
@ 2017-06-11 20:33     ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2017-06-11 20:33 UTC (permalink / raw)
  To: Manolis Ragkousis; +Cc: guix-devel

Hi Manolis,

Manolis Ragkousis <manolis837@gmail.com> skribis:

> Locally on the latest core-updates
> 70eea6ea14590a5a13656148915bd62f5fecf5f7 running `./pre-inst-env guix
> build --target=i586-pc-gnu bootstrap-tarballs --fallback' builds
> successfully.

Oh you’re right:

  https://hydra.gnu.org/job/gnu/core-updates/i586-pc-gnu.bootstrap-tarballs-0.x86_64-linux

What’s failing is the cross-compiled GCC (“Canadian cross”):

  https://hydra.gnu.org/build/2099030
  https://hydra.gnu.org/job/gnu/core-updates/i586-pc-gnu.gcc-5.4.0.x86_64-linux

This is arguably less critical (and already broken on ‘master’).  It
might be nice to have though.

Sorry for the confusion!

Ludo’.

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

end of thread, other threads:[~2017-06-11 20:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07 22:01 Cross-compilation to GNU/Hurd broken on core-updates Ludovic Courtès
2017-06-07 22:04 ` Manolis Ragkousis
2017-06-08 19:32   ` Manolis Ragkousis
2017-06-11 20:33     ` Ludovic Courtès
2017-06-07 22:04 ` Manolis Ragkousis
2017-06-07 22:15 ` Ludovic Courtès

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