[LLVMbugs] [Bug 9742] New: LLVM 2.9 won't compile on Solaris

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 18 05:00:53 PDT 2011


           Summary: LLVM 2.9 won't compile on Solaris
           Product: new-bugs
           Version: 2.9
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dwojtaszek at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Solaris2.10 on Sparc
GCC 4.6.0
GNU Make 3.80

Dwonloaded release from llvm.org, unfortunately I can't access SVN at the

Based on (except SVN):http://clang.llvm.org/get_started.html#build

../llvm-2.9/configure --enable-optimized --prefix=/home/dominik/llvm29
In file included from Unix/Program.inc:36:0,
                 from Program.cpp:52:
/usr/include/spawn.h:42:14: error: expected ',' or '...' before 'argv'
/usr/include/spawn.h:50:14: error: expected ',' or '...' before 'argv'
In file included from Program.cpp:52:0:
Unix/Program.inc: In member function 'bool llvm::sys::Program::Execute(const
llvm::sys::Path&, const char**, const char**, const llvm::sys::Path**, unsigned
int, std::string*)':
Unix/Program.inc:221:79: error: cannot convert 'char**' to 'char*' for argument
'5' to 'int posix_spawn(pid_t*, const char*, const posix_spawn_file_actions_t*,
const posix_spawnattr_t*, char*)'
/home/dominik/llvm-2.9/lib/Support/Release/Program.d.tmp: No such file or
gmake[1]: *** [/home/dominik/llvm-2.9/lib/Support/Release/Program.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/home/dominik/llvm-2.9/lib/Support'
gmake: *** [all] Error 1
 * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.

#ifndef _SPAWN_H
#define _SPAWN_H

#pragma ident   "@(#)spawn.h    1.1     03/12/06 SMI"

ps. there was also known issue with MAX_PATH, which is already in bugzilla
(worked around by a #define)

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list