You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...which is the type of error that used to happen when DrvFs-mounted drives were borked a few flights ago. "Invalid argument" meaning a file is a wrong type (e.g. directory) not merely missing. Is this still happening?
This actually looks like an LxFs issue, since it's referring to a file under /usr. LxFs was not affected by the previous issue, and hasn't received any real changes recently.
OK, I'll try. Just got this, though, in a make -j 8 situation... (and the "fork: Invalid argument" has been happening for a while, too so I should write this up separately?)
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../source/gmp-6.1.2/printf -I.. -D__GMP_WITHIN_GMP -I../../source/gmp-6.1.2 -fexceptions -O2 -pedantic -fomit-frame-pointer -m64 -c ../../source/gmp-6.1.2/printf/doprnti.c -o doprnti.o
../libtool: fork: Invalid argument
../libtool: line 1: wait_for: No record of process 23189
Makefile:435: recipe for target 'obvprintf.lo' failed
And every time I try to compile GCC from a directory on the DevFs system, a different file has been transformed into something wrong:
In file included from /usr/include/stdio.h:35:0,
from ../../source/gcc-7.2.0/gcc/system.h:46,
from ../../source/gcc-7.2.0/gcc/cp/expr.c:23:
/usr/include/x86_64-linux-gnu/bits/types.h:121:62: fatal error: cp/bits/typesizes.h: Invalid argument
compilation terminated.
Makefile:1099: recipe for target 'cp/expr.o' failed
As for steps to a reproducible error, mine are to compile GCC 7.2.0 as a cross-compiler, using -j 8 to make, though the failure with "Invalid argument" occurs on a different file each time.
Completely uninstalled the subsystem, deleted lxss, removed all working directories, re-installed, and #include directives still randomly fail with "invalid argument":
Is this issue #1735 again, perhaps? As before, in this issue, not only is the file 'missing' but the path searched is wrong. This also occurs using a freshly-compiled gcc-7.2.0 as the compiler, as well as the stock Ubuntu 5.4.0.
g++ -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/c -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/../include -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/../libcpp/include -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/bld/gcc/./gmp -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gmp -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/bld/gcc/./mpfr/src -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/mpfr/src -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/mpc/src -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/../libdecnumber -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/../libdecnumber/bid -I../libdecnumber -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/../libbacktrace -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/bld/gcc/./isl/include -I/mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/isl/include -o c/c-typeck.o -MT c/c-typeck.o -MMD -MP -MF c/.deps/c-typeck.TPo /mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/c/c-typeck.c
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include-fixed/limits.h:194:0,
from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include-fixed/limits.h:34,
from /usr/include/x86_64-linux-gnu/sys/param.h:26,
from /mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/system.h:298,
from /mnt/e/Users/john/Documents/MultimediaTools-mingw-w64/sandbox/src/gcc-7.2.0/gcc/c/c-typeck.c:27:
/usr/include/limits.h:143:11: fatal error: c/bits/posix1_lim.h: Invalid argument
# include <bits/posix1_lim.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:1099: recipe for target 'c/c-typeck.o' failed
make[1]: *** [c/c-typeck.o] Error 1
The issue is resolved if I delete all the files in the git repo with rm -rf * & then force checkout the branch. But it only stays as long as the laptop is on. If I shut down and try to compile after rebooting the issue appears again.
The source & the TC are both on /mnt/d i.e. DrvFs.
This just started happening to me too, build 16299.rs3_release. I keep getting Invalid argument errors for paths that do not exist, and it's always a different file.
Activity
benhillis commentedon Aug 31, 2017
John Warburton (@Warblefly) - That issue should be fixed. Can you give us some reproducible steps so we can check this out locally?
Adding Sven Groot (@SvenGroot).
SvenGroot commentedon Aug 31, 2017
This actually looks like an LxFs issue, since it's referring to a file under /usr. LxFs was not affected by the previous issue, and hasn't received any real changes recently.
As Ben Hillis (@benhillis) said, we need a repro to look into this.
Warblefly commentedon Aug 31, 2017
OK, I'll try. Just got this, though, in a
make -j 8situation... (and the "fork: Invalid argument" has been happening for a while, too so I should write this up separately?)Warblefly commentedon Aug 31, 2017
And every time I try to compile GCC from a directory on the DevFs system, a different file has been transformed into something wrong:
Warblefly commentedon Sep 1, 2017
As for steps to a reproducible error, mine are to compile GCC 7.2.0 as a cross-compiler, using
-j 8to make, though the failure with "Invalid argument" occurs on a different file each time.Warblefly commentedon Sep 2, 2017
Completely uninstalled the subsystem, deleted lxss, removed all working directories, re-installed, and
#includedirectives still randomly fail with "invalid argument":Warblefly commentedon Sep 2, 2017
The same problem occurs on Build 16281, which landed on my machine today. The host GCC is the supplied Ubuntu GCC, which is version 5.4.0
Warblefly commentedon Sep 2, 2017
Is this issue #1735 again, perhaps? As before, in this issue, not only is the file 'missing' but the path searched is wrong. This also occurs using a freshly-compiled gcc-7.2.0 as the compiler, as well as the stock Ubuntu 5.4.0.
Warblefly commentedon Sep 3, 2017
Compiling GCC on the 'native' Linux filesystem entirely within lxss does not fail. But on DrvFs, it does.
nutcasev15 commentedon Nov 27, 2017
Experiencing the same issue on build 16299.64.
Compiling Linux kernel 3.10 with GCC 7.1 custom toolchain.
The compiler errors on a different file each time but the error code is always the same.
In file included from drivers/external_drivers/intel_media/bld/merrifield/tng/../../../display/tng/drv/mdfld_csc.c:28:0: drivers/external_drivers/intel_media/bld/merrifield/tng/../../../display/tng/drv/psb_drv.h:35:10: fatal error: drivers/external_drivers/intel_media/graphics/rgx/services/shared/devices/rgx/ttm/ttm_object.h: Invalid argument #include "ttm/ttm_object.h" ^~~~~~~~~~~~~~~~~~ CC net/ipv4/tcp_sociopath.o compilation terminated. CC drivers/external_drivers/intel_media/bld/merrifield/tng/../../../display/tng/drv/psb_socket.o scripts/Makefile.build:308: recipe for target 'drivers/external_drivers/intel_media/bld/merrifield/tng/../../../display/tng/drv/mdfld_csc.o' failed make[4]: *** [drivers/external_drivers/intel_media/bld/merrifield/tng/../../../display/tng/drv/mdfld_csc.o] Error 1A better formatted version: https://hastebin.com/qigevusihu.coffeescript
The source for the same is here https://github.com/nutcasev15/Holo-N/tree/RW
The TC is here https://github.com/nutcasev15/Custom-TC
The issue is resolved if I delete all the files in the git repo with rm -rf * & then force checkout the branch. But it only stays as long as the laptop is on. If I shut down and try to compile after rebooting the issue appears again.
The source & the TC are both on /mnt/d i.e. DrvFs.
kwaegel commentedon Nov 29, 2017
This just started happening to me too, build 16299.rs3_release. I keep getting
Invalid argumenterrors for paths that do not exist, and it's always a different file.brlin-tw commentedon Sep 8, 2018
Got a similar error here when building a snap package under Ubuntu 16.04 WSL(Windows 10 version 1803 build 17134.254):
The file should be in lxfs instead of drvfs, though.
HinTak commentedon Sep 8, 2018
What is underneath drvfs? Ntfs or?
bpulliam commentedon May 7, 2021
Much has changed in the WSL world since this was filed. If you still see this issue, please file a new one. Thanks!