Displaying 12 results from an estimated 12 matches for "gnu_dev_major".
2011 Nov 01
1
[LLVMdev] llvm configuration error
...using clang to compile a trivial C program of
20 lines. When I tried to compile programs of spec2006, such as bzip2 or
mcf, the following erros showed up.
clang spec.o blocksort.o bzip2.o bzlib.o compress.o crctable.o
decompress.o huffman.o randtable.o -o bzip2
blocksort.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:44: multiple definition of `gnu_dev_major'
spec.o:/usr/include/sys/sysmacros.h:44: first defined here
blocksort.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:56: multiple definition of `gnu_dev_makedev'
spec.o:/usr/include/sys/sysmacro...
2011 Oct 31
0
[LLVMdev] llvm configuration error
Are you saying this is this the first time you've tried to compile it on the
cluster?
It's easy to determine if g++ is installed and in the PATH - just get a
console on the cluster and type "g++". However, AFAIK cluster nodes are not
usually configured for software development, are they? Typically you build
your code locally and then job it out to the cluster?
Greg
2011 Oct 31
3
[LLVMdev] llvm configuration error
I've compiled llvm several times, but this is the first time I saw this
error when I was trying to compile it in a cluster.
checking tool compatibility... configure: error: g++|clang++|icc required
but not found
I am pretty sure g++ is installed and in the path. I then downloaded
clang++ binary and set path. The error was still there.
OS: opensuse 10.1
gcc, g++ version: 4.2.3
Any idea?
Bo
2009 Dec 14
2
[LLVMdev] clang error: multiple definition of `gnu_dev_*'
When trying to link more than one object files compiled with clang, I run into
errors of the following type:
$ clang -fblocks -g -I$HOME/opt/include -L$HOME/opt/lib/ -o helloworld
helloworld.c hello.o world.o -lBlocksRuntime
world.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
hello.o:/usr/include/sys/sysmacros.h:43: first defined here
world.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
hello.o:/usr/include/sys/sysmacros.h:49...
2009 Dec 14
0
[LLVMdev] clang error: multiple definition of `gnu_dev_*'
...hishek Kulkarni wrote:
> When trying to link more than one object files compiled with clang, I run into
> errors of the following type:
>
> $ clang -fblocks -g -I$HOME/opt/include -L$HOME/opt/lib/ -o helloworld
> helloworld.c hello.o world.o -lBlocksRuntime
> world.o: In function `gnu_dev_major':
> /usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
> hello.o:/usr/include/sys/sysmacros.h:43: first defined here
> world.o: In function `gnu_dev_minor':
> /usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
> hello.o:/usr/i...
2015 Apr 16
2
[LLVMdev] Compile SPEC2006 with clang-3.2, multi definition errors.
...n/ld
GNU ld version 2.17.50.0.6-9.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
*2. errors when link*
/tmp/concat-yeQL2V.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:44: multiple definition of `gnu_dev_major'
/tmp/alloca-YSgYzY.o:/usr/include/sys/sysmacros.h:44: first defined here
/tmp/concat-yeQL2V.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:56: multiple definition of `gnu_dev_makedev'
/tmp/allo...
2008 Feb 16
0
[LLVMdev] linux/x86-64 codegen support
...)
Is there a way to nicely dump arglist?
gdb's print *arglist shows too much information....
$ /home/edwin/llvm-svn/obj42/./prev-gcc/cc1 charset.i
vprintf getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar
fputc_unlocked putc_unlocked putchar_unlocked feof_unlocked
ferror_unlocked gnu_dev_major gnu_dev_minor gnu_dev_makedev atof atoi
atol atoll stat lstat fstat mknod cpp_in_system_header ustrcmp ustrncmp
ustrcspn ustrlen uxstrdup ustrchr ufputs one_utf8_to_cppchar
one_cppchar_to_utf8 one_utf8_to_utf32 one_utf32_to_utf8
one_utf8_to_utf16 one_utf16_to_utf8 conversion_loop convert_utf8_utf16...
2008 Feb 16
2
[LLVMdev] linux/x86-64 codegen support
Interestingly, in the .i file there are 2 __builtin_alloca, and
EmitBuiltinAlloca is only being called once.
Andrew
On 2/16/08, Andrew Lenharth <andrewl at lenharth.org> wrote:
> libcpp/charset.c:631 turns into:
>
> %tmp16 = tail call i64 @strlen( i8* %to ) nounwind readonly
> ; <i64> [#uses=1]
> %tmp18 = tail call i64 @strlen( i8* %from ) nounwind
2010 Oct 29
2
[LLVMdev] "multiple definition of .. " in clang 2.8
...all the same.
I have a copy of llvm 2.7 on my machine, but I specify the path to the 2.8
executables in my scripts and config files.
Are there any conflicts between different versions, or is it possible to be
a bug in clang?
Thank you,
Alexandra
And here is the error:
Hostname.o: In function `gnu_dev_major':
Hostname.c:(.text+0x0): multiple definition of `gnu_dev_major'
av.o:av.c:(.text+0x0): first defined here
Hostname.o: In function `gnu_dev_minor':
Hostname.c:(.text+0x20): multiple definition of `gnu_dev_minor'
av.o:av.c:(.text+0x20): first defined here
Hostname.o: In function `gnu...
2008 Feb 16
3
[LLVMdev] linux/x86-64 codegen support
...ump arglist?
> gdb's print *arglist shows too much information....
>
> $ /home/edwin/llvm-svn/obj42/./prev-gcc/cc1 charset.i
> vprintf getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar
> fputc_unlocked putc_unlocked putchar_unlocked feof_unlocked
> ferror_unlocked gnu_dev_major gnu_dev_minor gnu_dev_makedev atof atoi
> atol atoll stat lstat fstat mknod cpp_in_system_header ustrcmp ustrncmp
> ustrcspn ustrlen uxstrdup ustrchr ufputs one_utf8_to_cppchar
> one_cppchar_to_utf8 one_utf8_to_utf32 one_utf32_to_utf8
> one_utf8_to_utf16 one_utf16_to_utf8 conversion_loo...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...restrict __timeout);
extern int pselect (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
const struct timespec *__restrict __timeout,
const __sigset_t *__restrict __sigmask);
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
__attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
__attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
unsigned...