Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] Is my install correct ?"
1996 Dec 06
1
Stupid passwd tricks: User with blank GECOS can''t change passwd
I have discovered that a user who has a blank GECOS field in the passwd file
under RedHat 4.0 (Colgate) is unable to change passwords. Running the passwd
command goes like this:
[user@host user]$ passwd
Password: [entry of old passwd]
New password: [entry of new passwd]
[user@host user]$ echo $!
1
[user@host user]$
Setting the name field in the GECOS seems to solve this problem.
[mod: While
2010 Aug 26
1
list of closures
Hi, I wanted to create a list of closures. When I use Map(), mapply(), lapply(), etc., to create this list, it appears that the wrong arguments are being passed to the main function. For example:
Main function:
> adder <- function(x) function(y) x + y
Creating list of closures with Map():
> plus <- Map(adder,c(one=1,two=2))> plus$one(1)[1] 3> plus$two(1)[1] 3
Examining what value
2008 Jan 11
9
Varying test data
This isn''t specific to RSpec, but is hopefully on-topic for this list.
I like (especially when "ping pong pairing") to write a spec, then
write the smallest amount of code I can to pass it (especially when
"ping pong pairing"). Sometimes this means hard-coding a return value,
which means another spec is needed to prove that the code is really
behaving as it
2024 Apr 12
1
Debugging functions defined (locally) inside another functions
? Fri, 12 Apr 2024 12:15:07 +0000
Iago Gin? V?zquez <iago.gine at sjd.es> ?????:
> f <- function(whatever){
> ...
> g <- function(whatever2){
> ...
> }
> ...
> }
>
> If I wanted to debug some thing directly inside f I would do
> debug(f). But this does not go inside g code. On the other hand,
> debug(g) does not work as g is not a
2024 Apr 12
1
Debugging functions defined (locally) inside another functions
Thank you Ivan, your example solves my issue this time through
debug(environment(Adder$add)$add)
Just for the future, you say
Moreover, `g` doesn't exist at all until f() is evaluated and reaches
this point. If `f` was a function, it would be possible to trace() it,
inserting a call to debug(g) after it's created.
How should I call trace() if f was a function?
Best
2006 Apr 13
0
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
On Thu, 13 Apr 2006, Reid Spencer wrote:
> I just updated again (both llvm and llvm-gcc). The only thing that
> changed was:
> P test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c
>
> The regression test below was done *with* your llvm-gcc changes to llvm-
> expand.c. I don't know what the failures are all about, but I will try
> it again. If its the same,
2006 Apr 13
0
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
The various intrinsic assert/crashes should all be fixed on mainline CVS
(they are PR733, which I just fixed).
The only ones that I'm wary of are:
XPASS: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-20-
StaticRedeclare.c.tr
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2005-12-04-
DeclarationLineNumbers.c:
In the former case, I would guess that the test isn't
2006 Apr 13
2
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
I just updated again (both llvm and llvm-gcc). The only thing that
changed was:
P test/Regression/CFrontend/2005-12-04-DeclarationLineNumbers.c
The regression test below was done *with* your llvm-gcc changes to llvm-
expand.c. I don't know what the failures are all about, but I will try
it again. If its the same, I'll let you know.
Reid.
On Thu, 2006-04-13 at 16:20 -0500, Chris Lattner
2006 Apr 13
3
[LLVMdev] Re: Creating Release 1.7 Branch at 1:00pm PDT
Here's what's left on Linux (GCC 4.1.0), after all updates that went
into the branch:
Running /proj/llvm/build/../llvm/test/Regression/CFrontend/dg.exp ...
FAIL: /proj/llvm/build/../llvm/test/Regression/CFrontend/2004-02-12-
LargeAggregateCopy.c.tr:
gccas: /proj/llvm/build/../llvm/lib/VMCore/Function.cpp:266: unsigned
int llvm::Function::getIntrinsicID() const: Assertion `0 &&
2005 Jun 13
2
[LLVMdev] problem compiling the cfrontend on Linux/PPC
> Okay, I took a closer look at your output.
>
> I was correct in that gccas is attempting to assemble a native PPC
> assembly language file. However, this appears to be happening because
> the assembly file is generated by the GCC Makefiles for libgcc2 (in
> llvm-gcc/gcc/config/rs6000/t-ppccomm, I think).
>
> The first thing I would try is Marco's suggestion: add
2020 Feb 13
0
[PATCH nbdkit 2/2] vddk: Drive library loading from libdir parameter.
Do not use LD_LIBRARY_PATH to locate the VDDK library. Setting this
always causes problems because VDDK comes bundled with broken
replacements for system libraries, such as libcrypto.so and
libstdc++.so. Two problems this causes which we have seen in the real
world:
(1) User does ‘export LD_LIBRARY_PATH=vmware-vix-disklib-distrib’ and
that breaks lots of ordinary utilities on their system.
(2)
2005 Jul 25
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote:
> When I compiled a linux kernel, gccas was used to compile assembly code.
>
> But gccas cannot recognize the line comment character "#" of gnu assembler,
>
> and abort the compile with reporting a error "syntax error, unexpected $undefined".
>
> I watch llvm/tools/gccas, but donot known how to add this function in it.
>
2004 Dec 08
0
[LLVMdev] Re: Question about LLVM
On Thu, 9 Dec 2004, Iman Narasamdya wrote:
> Hello,
>
> Couple of months ago you informed me about LLVM. At that time, I was focusing
> my research on GCC RTL.
>
> I just started looking into LLVM, and I have some questions:
> - When the documentation mention IR, does it refer to LLVM assembly language
> or to LLVM bytecode?
Both. They are semantically equivalent. In
2020 Feb 13
1
Re: [PATCH nbdkit 2/2] vddk: Drive library loading from libdir parameter.
On 2/13/20 8:01 AM, Richard W.M. Jones wrote:
> Do not use LD_LIBRARY_PATH to locate the VDDK library. Setting this
> always causes problems because VDDK comes bundled with broken
> replacements for system libraries, such as libcrypto.so and
> libstdc++.so. Two problems this causes which we have seen in the real
> world:
>
> (1) User does ‘export
2010 Jun 30
0
drb problem? ringy-dingy won't answer...
The following code works fine as long as I don''t try to run it through
the distributed server. It doesn''t get there...
It runs fine out of delayed_job, runs fine if called directly.
But if ''distrib'' is true (the default) it runs right up to the call to
the server and right past it without getting to the server or raising
any errors.
Am using Ruby 1.8.6.26 ,
2005 Jul 25
2
Re: [LLVMdev] Compile a linux kernel with LLVM?
When I compiled a linux kernel, gccas was used to compile assembly code.
But gccas cannot recognize the line comment character "#" of gnu assembler,
and abort the compile with reporting a error "syntax error, unexpected $undefined".
I watch llvm/tools/gccas, but donot known how to add this function in it.
Would you give me some suggestions?
Thanks.
2020 Feb 17
2
Re: [nbdkit PATCH v5 4/4] vddk: Drive library loading from libdir parameter.
Unfortunately this series doesn't work with the real VDDK library :-(
I see:
nbdkit: debug: vddk: config_complete
nbdkit: debug: dlopen shim prefix set to /home/rjones/tmp/vddk-6.7.3/vmware-vix-disklib-distrib/lib64
Then a little bit later during VDDK initialization it fails with:
nbdkit: debug: VixDiskLib: Could not load default plugins from
2005 Jul 28
0
[LLVMdev] help with pointer-to-array conversion
On Thu, 28 Jul 2005, Naftali Schwartz wrote:
> I now understand that IndVarSimplify.cpp is capable of reproducing array
> references when the pointer initialization from the array address is found
> inside the immediately enclosing loop, such that in the following code:
Ok.
> int A[20000], B[100], Z;
> int main()
> {
> int i, j, *a, *b;
> for ( a =
2020 Feb 17
0
Re: [nbdkit PATCH v5 4/4] vddk: Drive library loading from libdir parameter.
On 2/17/20 12:17 PM, Richard W.M. Jones wrote:
> Unfortunately this series doesn't work with the real VDDK library :-(
>
> I see:
>
> nbdkit: debug: vddk: config_complete
> nbdkit: debug: dlopen shim prefix set to /home/rjones/tmp/vddk-6.7.3/vmware-vix-disklib-distrib/lib64
>
> Then a little bit later during VDDK initialization it fails with:
>
>
2005 Jun 28
2
[LLVMdev] Re: llvm linux/PPC cfrontend
Cyrille Mescam wrote:
> Morning,
>
> I would like to know if you received my mail with the assembly code
> you wanted.
>
> It not, i'll send it again to you.
>
> Thanks for your help.
>
> Regards.
>
> Cyrille
>
I've looked into the files you sent me, and it seems that the problem is
occuring due to the C library simplication pass (which is run