[Nix-dev] gcc broken for FORTRAN build

Pjotr Prins pjotr2008 at thebird.nl
Tue Aug 5 17:48:47 CEST 2008


Using the latest Nix.

When building gcc-4.2 with:

  nix-env -i g77-4.2 -K

I am getting this error on different machines (i686 and x86_64):

make[3]: Entering directory `/tmp/nix-28924-0/build/libiberty'
building stamp-picdir
if [ x"" != x ] && [ ! -d pic ]; then \
          mkdir pic; \
        else true; fii
touch stamp-picdirr
touch: setting times of `stamp-picdir': Function not implemented
make[3]: *** [stamp-picdir] Error 1

I upgraded gcc to 4.2.4, but the problem remains (patch attached).
Note the pure gcc build is find, it is the Fortran version which
fails.

I tried disabling libiberty, but that gives:

make[3]: *** No rule to make target `../libiberty/libiberty.a',
needed by `full-stamp'.  Stop.

Does a gcc guru mind looking into this?

Pj.




More information about the nix-dev mailing list