Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cron fails to cross-compile on amd64 for evbearmhf-el



Hi,

with uptodate -current source (with compiles fine on amd64 and i386)
cross compiling for earmhf fails:

>-1018: /u/NetBSD/arch/evbearmhf-el/TOOLS/bin/nbmake-evbearmhf-el dependall
    compile  crontab/crontab.o
/u/NetBSD/src/external/bsd/cron/bin/crontab/../../dist/crontab.c: In function 
'replace_cmd':
/u/NetBSD/src/external/bsd/cron/bin/crontab/../../dist/crontab.c:647:2: error: 
negative integer implicitly converted to unsigned type [-Werror=sign-conversion]
  lastch = EOF;
  ^
cc1: all warnings being treated as errors

*** Failed target:  crontab.o
*** Failed command: 
/u/NetBSD/arch/evbearmhf-el/TOOLS/bin/arm--netbsdelf-eabihf-gcc -O2 -pipe 
-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch 
-Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
-Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2 
-Wno-format-zero-length -Werror --sysroot=/u/NetBSD/arch/evbearmhf-el/dest 
-I/u/NetBSD/src/external/bsd/cron/bin/crontab -DDEBUGGING=1 -c 
/u/NetBSD/src/external/bsd/cron/bin/crontab/../../dist/crontab.c
*** Error code 1

Stop.
nbmake[1]: stopped in /u/NetBSD/src/external/bsd/cron/bin/crontab

*** Failed target:  dependall
*** Failed command: cd "/u/NetBSD/src/external/bsd/cron/bin/crontab"; 
/u/NetBSD/arch/evbearmhf-el/TOOLS/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/src/external/bsd/cron/bin/crontab


Kurt


Home | Main Index | Thread Index | Old Index