[Top][All Lists]

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

[Tinycc-devel] tcc compile broken with clang-3.3 (regression from 0.9.26

From: Austin English
Subject: [Tinycc-devel] tcc compile broken with clang-3.3 (regression from 0.9.26)
Date: Sun, 9 Mar 2014 01:29:30 -0400

It broke between 0.9.25 and 0.9.26. Introduced by:
7a477d70cabe15fa66fd0f32fab5e95841a500e5 is the first bad commit
commit 7a477d70cabe15fa66fd0f32fab5e95841a500e5
Author: grischka <grischka>
Date:   Wed Feb 6 19:01:07 2013 +0100

    lib/Makefile: use CC, add bcheck to libtcc1.a
    - fix "make tcc_p" (profiling version)
    - remove old gcc flags:
      -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0
    - remove test "hello" for Darwin (cannot compile to file)

address@hidden tinycc]$ git describe

clang -c libtcc1.c -o x86_64/libtcc1.o -I..  -Wall -g -O2 -fheinous-gnu-extensions -DTCC_TARGET_X86_64
libtcc1.c:697:45: error: too few arguments provided to function-like macro invocation
void *__va_copy(struct __va_list_struct *src)
/usr/bin/../lib/clang/3.3/include/stdarg.h:40:9: note: macro '__va_copy' defined here
#define __va_copy(d,s) __builtin_va_copy(d,s)
libtcc1.c:697:16: error: expected ';' after top level declarator
void *__va_copy(struct __va_list_struct *src)
2 errors generated.
make[1]: *** [x86_64/libtcc1.o] Error 1

address@hidden tinycc]$ clang --version
clang version 3.3 (tags/RELEASE_33/final)
Target: x86_64-redhat-linux-gnu
Thread model: posix

Hopefully enough time to fix it for 0.9.27 ;)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]