[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] hostfs bug with unlink() when an open handle exists
Vincent Rivière, 12.12.2013 01:14:45:
When I try to run gcc from hostfs I get an error:
gcc -I.. -D__KERNEL__ -DLANG_ENGLISH -DVERBOSE_BOOT -DWITH_MMU_SUPPORT
-DWITH_SINGLE_TASK_SUPPORT -DSOFT_UNITABLE -DBUILTIN_SHELL -DARANYM
-DDEBUG_INFO -DM68040 -DWITH_HOSTFS -DBOOTSTRAPABLE -DC_ONLY -m68040
-mshort -g -O2 -fomit-frame-pointer -Wall -Wmissing-prototypes -Wshadow
-Wpointer-arith -Wcast-qual -c ../fatfs.c -o fatfs.o
gcc: error trying to exec 'cc1': execvp: No such file or directory
When the source is in the current dir it works:
time gcc -I. -D__KERNEL__ -DLANG_ENGLISH -DVERBOSE_BOOT -DWITH_MMU_SUPPORT
-DWITH_SINGLE_TASK_SUPPORT -DSOFT_UNITABLE -DBUILTIN_SHELL -DARANYM
-DDEBUG_INFO -DM68040 -DWITH_HOSTFS -DBOOTSTRAPABLE -DC_ONLY -m68040
-mshort -g -O2 -fomit-frame-pointer -Wall -Wmissing-prototypes -Wshadow
-Wpointer-arith -Wcast-qual -c fatfs.c -o fatfs.o
17.89s real 16.42s user 1.47s system
Is that related to the here-issue?
It has some problems with /tmp:
pid 78 (gcc): Fstat64(/tmp/ccthlXA1.s): path2cookie returned -33
pid 78 (gcc): Freadlink: unable to find /tmp/ccthlXA1.s
ll /tmp
lrwxr-xr-x 1 root wheel 7 Dec 14 09:10 /tmp -> /f/tmp
ll -d /tmp/
drwxrwxrwx 2 root wheel 4096 Dec 14 09:43 /tmp/
F: is ext2.
-Helmut