Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] Linux-x86 Compatability"
2002 Sep 13
2
[LLVMdev] Linux-x86 Compatability
ISSUE: In Interpreter::getCurrentExecutablePath(), dladdr() is a
Solarisism. Luckily, getCurrentExecutablePath isn't being currently
used anywhere in lli.
ACTION: Wrap the method contents with #ifdef __sun__ ... #else return
""; #endif. If this functionality is actually desired, it would be more
portable to hack up main() to join getcwd() with basename(argv[0]) to
find the
2002 Sep 13
2
[LLVMdev] Linux-x86 Compatability
ISSUE: INT64_MAX undefined in InstrSelectionSupport.cpp and
InstructionCombining.cpp. I'm not completely sure where INT64_MAX comes
from on Solaris, but C99 says that INT64_MAX is defined in stdint.h,
but, for C++, only if __STDC_LIMIT_MACROS is #defined. Solaris (at
least in CSIL) unfortunately does not have stdint.h, but it does have
the old inttypes.h - and so does Linux.
ACTION: In
2002 Sep 13
1
[LLVMdev] Linux-x86 Compatability
ISSUE: In CommandLine.h, gcc 2.96 thinks that the apply() template
function, when called as:
apply("Some text string", x)
should be expanded to
applicator<const char[n]>("Some text string", x)
instead of
applicator<char[n]>("Some text string", x).
ACTION: Duplicate the template specialization for applicator<char[n]> as
applicator<const
2002 Sep 13
1
[LLVMdev] Linux-x86 Compatability
ISSUE: ExternalFunctions.cpp::lookupFunction() calls dlsym(RTLD_DEFAULT,
...). In glibc, dlfcn.h does not make RTLD_DEFAULT visible unless
_GNU_SOURCE is #defined. Unlike the evil money-grubbing non-free
software pigs at sun, the FSF is trying not to pollute the C namespace. ;)
ACTION: Hack the Makefile to #define _GNU_SOURCE while compiling in
tools/lli. Yes, I know that this is ugly.
2002 Sep 13
1
[LLVMdev] Linux-x86 Compatability
ISSUE: Linux doesn't have any steenking SIGEMT signal, as referred to in
lib/Support/Signals.cpp.
ACTION: Wrap the use with a #ifdef SIGEMT / #endif.
PATCH: Apply from llvm top-level directory with "patch -p0".
--
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
2002 Sep 13
2
[LLVMdev] Linux-x86 Compatability
Chris Lattner wrote:
>>>Interesting. INT64_MAX is supposed to be provided by
>>>include/Support/DataTypes.h. Do you know of a reliable preprocessor
>>>symbol that can be used to determine whether we're on a linux box, or
>>>
>>>
>
>
>
>>Well, there is always __linux__, but that doesn't necessarily imply that
>>we
2002 Sep 13
0
[LLVMdev] Linux-x86 Compatibility
ISSUE: getTimeRecord in lib/VMCore/Pass.cpp uses timeval and
gettimeofday() without including sys/time.h.
ACTION: Include sys/time.h.
PATCH: Apply from llvm top-level directory with "patch -p0."
--
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL:
2002 Sep 13
1
[LLVMdev] Linux-x86 Compatibility
ISSUE: DSOs in Linux are created by "g++ -shared" instead of "g++ -G".
ACTION: Compile with "g++ -shared" instead of "g++ -G", i.e., use the
alternate definition of "MakeSO" in Makefile.common.
PATCH: Apply from llvm top-level directory with "patch -p0".
--
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69
2002 Sep 13
0
[LLVMdev] Dynamic loading on x86-Linux
ISSUE: By default, symbols are not exported from an executable unless
they are linked against a DSO. What this means is that dlopen()ed DSOs
cannot link to symbols in the main executable unless that executable was
linked with --export-dynamic.
ACTION: Ensure that opt is linked with "-Wl,--export-dynamic" on the G++
command line by defining "ExportSymbols" in
2002 Sep 13
1
[LLVMdev] Linux-x86 and Solaris Makefile configuration
ISSUE: Changing definitions in Makefile.common by hand from Solaris to
Linux values offends me.
ACTION: As a quick fix to this (i.e., w/o autoconf) I have separated out
the different settings into new files Makefile.$(PLATFORM) in the
top-level directory of llvm. A dirty hack to Makefile.common
automatically includes the proper arch-specific file by setting PLATFORM
to the output of uname.
2002 Sep 13
3
[LLVMdev] Linux-x86 Compatability
Chris Lattner wrote:
>>ISSUE: INT64_MAX undefined in InstrSelectionSupport.cpp and
>>InstructionCombining.cpp. I'm not completely sure where INT64_MAX comes
>>from on Solaris, but C99 says that INT64_MAX is defined in stdint.h,
>>but, for C++, only if __STDC_LIMIT_MACROS is #defined. Solaris (at
>>least in CSIL) unfortunately does not have stdint.h, but it does
2002 Sep 13
1
[LLVMdev] Linux-x86 Compatability
Chris Lattner wrote:
>>test for linux / definition of __STDC_LIMIT_MACROS. This will not work,
>>since stdint.h is implemented by including inttypes.h, which was already
>>included the first time with __STDC_LIMIT_MACROS not defined. I think
>>the best solution to this problem is to change DataTypes.h to simply:
>>
>> #define __STDC_LIMIT_MACROS
>>
2011 Dec 21
2
[PATCH] xenpm: assorted adjustments
- use consistent error values (stop mixing of [positive] errno values
with literal -E... ones)
- properly format output
- don''t use leading zeros in decimal output
- move printing of average frequency into P-state conditional (rather
than a C-state one)
- don''t print some C-state related info when CPU idle management is
disabled in the hypervisor
- use calloc() for array
2002 Sep 11
2
[LLVMdev] Porting to x86 Linux
So, I had to make a few changes to the llvm sources to allow compilation
on x86 redhat 7.3 (gcc-2.96, glibc 2.2.4). Is there any general
interest in maintaining a port? I will happily submit patches.
--
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69
2002 Sep 17
1
[LLVMdev] Bug in InstructionCombining.cpp
ISSUE: This code:
%bob = type { int }
int %alias() {
%pbob1 = alloca %bob
%pbob2 = getelementptr %bob* %pbob1 ;pbob2 aliases
pbob1
%pbobel = getelementptr %bob* %pbob2, long 0, ubyte 0
%rval = load int* %pbobel
ret int %rval
}
Crashes when run through opt -instcombine. InstCombiner visits
instructions in reverse declaration order, but
2002 Oct 27
2
[LLVMdev] Compile error in include/Support/GraphWriter.h
Issue: GraphWriter includes <ostream>, which my gcc2 apparently thinks
is <ostream.h>.
Fix: Make a new <Support/ostream> that handles this discrepancy, ala
<Support/hash_set>.
--
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL:
2015 Oct 16
2
potencia fracional de un número negativo
El problema del módulo es que pierde el signo.
En tu caso sale igual porque has invertido el signo del coeficiente en
el polinomio (en realidad se me pasó a a mí advertir que el término
independiente debe ir con signo negativo):
.> polyroot(z=c(0.5,0,0,0,0,1))
[1] 0.7042902+0.5116968i -0.2690149+0.8279428i -0.2690149-0.8279428i
[4] 0.7042902-0.5116968i -0.8705506+0.0000000i
.>
.>
2013 Oct 01
3
Análisis de componentes principales con ade4 y FactoMineR
Instalo ade4 correctamente y no me abren los datos como por ejemplo
data(bsetal97)
¿Qué piensan de eso?
De: r-help-es-bounces en r-project.org [mailto:r-help-es-bounces en r-project.org]
En nombre de Francesc Carmona
Enviado el: Tuesday, October 01, 2013 7:30 AM
Para: r-help-es en r-project.org
Asunto: Re: [R-es] Análisis de componentes principales con ade4 y FactoMineR
Por definición
2002 Sep 14
1
[LLVMdev] MP1: names
Does our pass need to ensure that the new names it creates for the field
allocations are, in fact, unique?
--
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69
2002 Sep 17
0
[LLVMdev] Typo in Pass.h
Like the subject says.
--
Casey Carter
Casey at Carter.net
ccarter at uiuc.edu
AIM: cartec69
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20020917/496d0a9c/attachment.ksh>