Source: handlersocket
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).
See build logs here: 
http://clang.debian.net/logs/2014-01-14/handlersocket_1.1.0-7-g1044a28-1.1_unstable_clang.log

Thanks,
Alexander


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- handlersocket-1.1.0-7-g1044a28/perl-Net-HandlerSocket/HandlerSocket.xs	2012-05-01 08:09:31.000000000 -0400
+++ handlersocket-1.1.0-7-g1044a28-my/perl-Net-HandlerSocket/HandlerSocket.xs	2014-05-23 18:09:50.525260693 -0400
@@ -522,7 +522,7 @@
 CODE:
   DBG(fprintf(stderr, "execute_multi0\n"));
   const I32 cmdsmax = av_len(cmds);
-  execute_arg args[cmdsmax + 1]; /* GNU */
+  execute_arg *args = reinterpret_cast<execute_arg *>(alloca(sizeof(execute_arg) * (cmdsmax + 1))); /* GNU */
   for (I32 i = 0; i <= cmdsmax; ++i) {
     AV *const avtarget = arr_get_arrval(cmds, cmdsmax, i);
     if (avtarget == 0) {

Reply via email to