Displaying 20 results from an estimated 200 matches similar to: "How to debug .ll file with segmentation fault?"
2019 Jan 26
3
How to debug .ll file with segmentation fault?
Could you give specific pointers to the resources that are relevant to
segmentation fault debugging? This kind of bug is the hardest to bebug
because the error message has nothing to do with the actual bug.
Generic advices without consideration of specific properties of the problem
will surely end up inefficient debugging.
What I added to the .ll file in this case are just function calls to
2020 Jan 03
3
Interpreter crash due to an "Unknown constant pointer type!"
David,
sorry for this email but I noticed I made a mistake in the previous one. So
I managed to compile llvm Debug with asserts release. I have used the
following commands:
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=ON
-DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON ..
cmake --build . -- -j8 && sudo cmake --build . --target install
Once lli was
2020 Feb 10
2
Interpreter crash due to an "Unknown constant pointer type!"
>
> Hey Lang - does any of this look familiar to you?
I'm afraid not: I know nothing about the interpreter. As far as I'm aware
it's essentially abandonware.
Alberto: The usual recommendation in these circumstances is to use a JIT
class instead of the interpreter. You're using -force-interpreter though,
so I assume you really want to use the interpreter for your use case?
2019 Dec 24
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi David,
In pretty sure that the crash is due to the instruction I have shared in my
first email. In order to run pngpixel you just need libpng and zlib..
honest I thought that the .bc had Al the necessary. I'm happy to help you
to reproduce it. As a curiosity, why do you think you cannot reproduce it?
Unfortunately I won't be able to modify the interpreter soon.. anyway, I'll
try to
2019 Aug 25
5
Illegal instruction (core dumped) LLVM 8.0
Hello,
I have implemented a pass to count total number of instructions in LLVM
8.0. Its source code is attached here. The pass runs fine with LLVM 4.0.
But with LLVM 8.0 following error is shown;
$ $LLVMopt_BIN/opt -load $LLVM_SO/LLVMStatic-Info.so -one output-simple.bc
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY
2004 Sep 26
2
help for stata user
Hi,
I'm new to R, and I'm STATA user before, could you help me where I can
get document about comparison command between STATA and R.
Thank you very much,
Best regards,
-iip-
2003 Mar 22
5
Sample weights
R Users
I am a new user of R. I have sample weights that I would like to
apply to some of the variables in my data set. Where can I go for
information on how to do that?
Richard
2011 Jan 05
1
Reading large SAS dataset in R
Hi all,
I have a large (approx. 1 GB) SAS dataset (test.sas7bdat) located in the
server (“R:/” directory). I have SAS 9.1 installed in my PC and I can read
the SAS dataset in SAS, under a windows environment, after assigning libname
in "R:\" directory.
Now I am trying to read the SAS dataset in R (R 2.12.0) using the read.ssd
function of the “foreign” package, but I get an error
2019 Feb 28
4
lld-link crash when linking intrinsics lib
+Peter Collingbourne <pcc at chromium.org>
LTO is used in this test case, and one source file defines its own `memset`
function while the other file uses llvm.memset. Looks like LTO is confused
by the user-defined memset. Could you take a look?
Steven,
Do you need to use LTO? I thought that LTO is a workaround to not produce
an object file that cannot be handled by your ELF-to-COFF
2019 Feb 27
2
lld-link crash when linking intrinsics lib
Hello Rui,
I met couples of lld-link crash when enable the clang-cl + lld-link build toolchain for Uefi firmware. Below is a simplified example (main.c and intrinsics.c).
Uefi firmware is self-contained and doesn't depend on the compiler intrinsics implementation, so we have our own intrinsics lib. It is weird that if I don't use the llvm-lib but directly "lld-link /NODEFAULTLIB
2019 Jul 16
2
lld-link crash when build openssl with LTO
lld should not crash in this case (so that's a bug that needs fixing), but
setting it aside, did you try adding `-fno-builtin` to clang so that clang
doesn't handle `memcpy` as a built-in function?
On Tue, Jul 16, 2019 at 8:46 PM Shi, Steven <steven.shi at intel.com> wrote:
> Hi Rui,
>
> For the test case in my previous email, if I change the `memcpy` to
> `foobar` in
2019 Jul 16
2
lld-link crash when build openssl with LTO
Yeah, it crashes indeed. I can reproduce the problem locally. Let me see
what is going on.
On Tue, Jul 16, 2019 at 9:00 PM Shi, Steven <steven.shi at intel.com> wrote:
> In my previous test case, after add the `-fno-builtin` to clang then
> build, the lld-link still has same crash as below:
>
>
>
> $ make
>
>
2019 Jul 15
2
lld-link crash when build openssl with LTO
Hi Rui,
We met a lld-link crash problem when build 32bits openssl1.0 with LTO in uefi firmware. We narrow down and figure out a simple test case to reproduce this problem as blow. Please advise. Thank you!
$ cat main.c
void TlsDriverEntryPoint ()
{
unsigned char *ret = 0;
const unsigned char cryptopro_ext[17] = {0x00,0x00,0x00,0x00,
2005 Feb 09
1
Asterisk Compile Problem on Red Hat 9 resolved
Thanks Noah
I got the source with CVS to a Windows machine, this is the source causing
the problem, although I suspect that getting the files to Windows and then
copying them to Linux was not a good idea.
I then got the tarball files, unzipped them on Linux and compiled and
everything installed fine.
My next goal is to setup 1 SIP channel, and be able to call the Asterisk PBX
from a
2020 Oct 30
2
Sieve filter script EXECUTION FAILED
On 30 Oct 2020, at 11:25, Bernd Petrovitsch <bernd at petrovitsch.priv.at> wrote:
> On 30/10/2020 17:11, @lbutlr wrote:
> [...]
>> echo $1 | sed -e '|</head>|<style>* {color:white !important; background-color: black !important; } </style></head>|'
>
> What should the sed stuff do?
Changes </head> to <style>* {color:white
2019 Jul 16
3
lld-link crash when build openssl with LTO
Usage of the builtin appears independent of LTO, see below.
With any of -fno-builtin, -fno-builtin-memcpy, and -ffreestanding, which
are all typically used to prevent usage of memcpy calls, we still always
get a memcpy builtin in TlsDriverEntryPoint(). I see this even without
-flto (e.g. try with just -emit-llvm).
I guess it is because this memcpy is not coming from the original source,
but
2011 Feb 07
2
[LLVMdev] Promoting i16 load to i32
Hi,
I'm working on an LLVM backend for an architecture which does not
natively support half-word loads. I'm having trouble getting LLVM to
promote i16 to i32 loads for me - should I expect LLVM to be able to
do this, are do I have to write a custom lowerer? This post
(http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/019929.html)
gave me the impression that it should be possible,
2011 May 18
4
[LLVMdev] x86 cross compiler for ppc fails to build
I try to build a cross powerpc compiler, but llvm-gcc fails.
Eric Christopher wrote:
> Looks like you don't have an assembler for your target installed that
> llvm-gcc can find.
I have binutils installed for powerpc and verified they are working with
a simple hello world program.
$ powerpc-750-linux-gnu-as --version
GNU assembler 2.16.1
However, the xgcc build during the seems to
2000 Dec 06
8
openssh-SNAP-20001207 scp "Bad file descriptor" sort-of work-around
Everything seems to work, though I still have trouble with scp. The
behaviour is not protocol dependent - acts the same with either. (Using
RedHat 6.2)
When I scp <file> <host>:<dir>, bash is invoked as a login shell on the
server side host - this doesn't seem right. With my /etc/profile, I get
Dec 6 15:06:20 amethyst sshd[3027]: error: select: Bad file descriptor
in
2009 Mar 03
1
SPSS data import: problems & work arounds for GSS surveys
I'm using R 2.8.1 on Ubuntu 8.10. I'm writing partly to ask what's
wrong, partly to tell other users who search that there is a work
around.
The General Social Survey is a long standing series of surveys
provided by NORC (National Opinion Research Center). I have
downloaded some years of the survey data in SPSS format (here's the
site: