Menu

#2576 mcs51 device/lib does not build with boost 1.63.0

closed
None
MCS51
5
2017-01-18
2017-01-15
No

SDCC 3.6.0 does no longer build on FreeBSD since the boost package was upgraded to 1.63.0.

gmake ds390/_atof.rel ds390/_schar2fs.rel ds390/_sint2fs.rel ds390/_slong2fs.rel ds390/_uchar2fs.rel ds390/_uint2fs.rel ds390/_ulong2fs.rel ds390/_fs2schar.rel ds390/_fs2sint.rel ds390/_fs2sl
ong.rel ds390/_fs2uchar.rel ds390/_fs2uint.rel ds390/_fs2ulong.rel ds390/_fsadd.rel ds390/_fsdiv.rel ds390/_fsmul.rel ds390/_fssub.rel ds390/_fseq.rel ds390/_fsgt.rel ds390/_fslt.rel ds390/_f
sneq.rel ds390/fabsf.rel ds390/frexpf.rel ds390/ldexpf.rel ds390/expf.rel ds390/powf.rel ds390/sincosf.rel ds390/sinf.rel ds390/cosf.rel ds390/logf.rel ds390/log10f.rel ds390/sqrtf.rel ds390/
tancotf.rel ds390/tanf.rel ds390/cotf.rel ds390/asincosf.rel ds390/asinf.rel ds390/acosf.rel ds390/atanf.rel ds390/atan2f.rel ds390/sincoshf.rel ds390/sinhf.rel ds390/coshf.rel ds390/tanhf.re
l ds390/floorf.rel ds390/ceilf.rel ds390/modff.rel ds390/errno.rel ds390/_fscmp.rel ds390/_fsget1arg.rel ds390/_fsget2args.rel ds390/_fsnormalize.rel ds390/_fsreturnval.rel ds390/_fsrshift.re
l ds390/_fsswapargs.rel ds390/_logexpf.rel ds390/_divsint.rel ds390/_divuint.rel ds390/_modsint.rel ds390/_moduint.rel ds390/_mulint.rel ds390/_divslong.rel ds390/_modslong.rel ds390/_modulon
g.rel ds390/_divulong.rel ds390/_mullong.rel ds390/_rrulonglong.rel ds390/_rrslonglong.rel ds390/_rlulonglong.rel ds390/_rlslonglong.rel ds390/_mullonglong.rel ds390/_divslonglong.rel ds390/_
divulonglong.rel ds390/_modslonglong.rel ds390/_modulonglong.rel ds390/isalnum.rel ds390/isalpha.rel ds390/isblank.rel ds390/iscntrl.rel ds390/isdigit.rel ds390/isgraph.rel ds390/islower.rel
ds390/isprint.rel ds390/ispunct.rel ds390/isspace.rel ds390/isupper.rel ds390/isxdigit.rel ds390/tolower.rel ds390/toupper.rel ds390/atoi.rel ds390/atol.rel ds390/atoll.rel ds390/abs.rel ds39
0/labs.rel ds390/rand.rel ds390/_strcat.rel ds390/_strchr.rel ds390/_strcmp.rel ds390/_strcspn.rel ds390/_strncat.rel ds390/_strncmp.rel ds390/strxfrm.rel ds390/_strncpy.rel ds390/_strpbrk.re
l ds390/_strrchr.rel ds390/_strspn.rel ds390/_strstr.rel ds390/_strtok.rel ds390/_memchr.rel ds390/_memcmp.rel ds390/_memcpy.rel ds390/_memset.rel ds390/aligned_alloc.rel ds390/calloc.rel ds3
90/malloc.rel ds390/realloc.rel ds390/free.rel ds390/mblen.rel ds390/mbtowc.rel ds390/wctomb.rel ds390/mbrtoc16.rel ds390/c16rtomb.rel ds390/mbrtoc32.rel ds390/c32rtomb.rel ds390/mbsinit.rel
ds390/mbrtowc.rel ds390/wcrtomb.rel ds390/printf_large.rel ds390/puts.rel ds390/gets.rel ds390/assert.rel ds390/time.rel ds390/_autobaud.rel ds390/_bp.rel ds390/_decdptr.rel ds390/_gptrget.re
l ds390/_gptrgetc.rel ds390/_gptrput.rel ds390/_ser.rel ds390/_setjmp.rel ds390/serial.rel ds390/_itoa.rel ds390/_ltoa.rel ds390/_spx.rel ds390/_startup.rel ds390/_strlen.rel ds390/_memmove.r
el ds390/_strcpy.rel ds390/_heap.rel ds390/sprintf.rel ds390/vprintf.rel ds390/printf_fast.rel ds390/printf_fast_f.rel ds390/printf_tiny.rel ds390/printfl.rel ds390/bpx.rel
gmake[6]: Entering directory '/tmp/obj/usr/ports/lang/sdcc/work/sdcc-3.6.0/device/lib'
../../bin/sdcc -I../../device/include -I../../device/include/mcs51 -mds390 --nostdinc --std-c99 -c _atof.c -o ds390/_atof.rel
sdcpp: error: unrecognized command line option "-Wall"
sdcpp: error: unrecognized command line option "-I../../device/include"
sdcpp: error: unrecognized command line option "-I../../device/include/mcs51"
sdcpp: error: unrecognized command line option "-D__SDCC_STACK_TENBIT"
sdcpp: error: unrecognized command line option "-D__SDCC_CHAR_UNSIGNED"
sdcpp: error: unrecognized command line option "-D__SDCC_MODEL_FLAT24"
sdcpp: error: unrecognized command line option "-D__SDCC=3_6_0"
sdcpp: error: unrecognized command line option "-D__SDCC_VERSION_MAJOR=3"
sdcpp: error: unrecognized command line option "-D__SDCC_VERSION_MINOR=6"
sdcpp: error: unrecognized command line option "-D__SDCC_VERSION_PATCH=0"
sdcpp: error: unrecognized command line option "-D__SDCC_REVISION=9615"
sdcpp: error: unrecognized command line option "-D__SDCC_ds390"
sdcpp: error: unrecognized command line option "-D__STDC_NO_COMPLEX__=1"
sdcpp: error: unrecognized command line option "-D__STDC_NO_THREADS__=1"
sdcpp: error: unrecognized command line option "-D__STDC_NO_ATOMICS__=1"
sdcpp: error: unrecognized command line option "-D__STDC_NO_VLA__=1"
sdcpp: error: unrecognized command line option "-D__STDC_ISO_10646__=201409L"
sdcpp: error: unrecognized command line option "-D__STDC_UTF_16__=1"
sdcpp: error: unrecognized command line option "-D__STDC_UTF_32__=1"
at 1: warning 190: ISO C forbids an empty source file
gmake[6]: *** [Makefile:567: ds390/_atof.rel] Error 1
gmake[6]: Leaving directory '/tmp/obj/usr/ports/lang/sdcc/work/sdcc-3.6.0/device/lib'
gmake[5]: *** [Makefile:238: objects] Error 2
gmake[5]: Leaving directory '/tmp/obj/usr/ports/lang/sdcc/work/sdcc-3.6.0/device/lib'
gmake[4]: *** [Makefile:279: model-ds390] Error 2
gmake[4]: Leaving directory '/tmp/obj/usr/ports/lang/sdcc/work/sdcc-3.6.0/device/lib'
gmake[3]: *** [Makefile:232: all] Error 2
gmake[3]: Leaving directory '/tmp/obj/usr/ports/lang/sdcc/work/sdcc-3.6.0/device/lib'
gmake[2]: *** [Makefile:164: sdcc-device-lib] Error 2
gmake[2]: Leaving directory '/tmp/obj/usr/ports/lang/sdcc/work/sdcc-3.6.0'
*** Error code 1

Discussion

  • Kamikaze Dominic Fandrey

    Just to clarify that happens in the MCS51 device lib.

     
  • Philipp Klaus Krause

    I just updated boost to 1.63 on my Debian GNU/Linux amd64 system, and rebuilt SDCC 3.6.5 #9833. I did not encounter this problem.

    Also, AFAIK the preprocessor (sdcpp binary) should not be affected by boost. AFAIK only the compiler (sdcc binary) uses boost.

    Philipp

     
  • Kamikaze Dominic Fandrey

    I tried to eliminate other variables so I attempted the build with clang37, clang38, clang39, gcc48, gcc53, but it always results in the same.

    I removed bin/sdcpp and replaced it with a symlink to /usr/bin/cpp, which allows me to use bin/sdcc directly. But the moment I hit gmake it's replaced with the binary again and I cannot continue the build.

     
  • Kamikaze Dominic Fandrey

    It works now, I have no idea what changed. But it's safe to say, it must be something specific to this machine.

    Please close.

     
  • Philipp Klaus Krause

    • status: open --> closed
    • assigned_to: Philipp Klaus Krause
     

Log in to post a comment.