Displaying 20 results from an estimated 10000 matches similar to: "llvm compile too much memory when i userd global array"
2015 Jul 22
2
[LLVMdev] is it impossible to use the external llvm custom pass on windows?
Hello all,
Still, is it impossible to use the external llvm custom pass on windows?
I can build the 'mypass.dll' on windows using LLVM libraries. And, I use
these 2 way to use my pass.
clang.exe -Xclang -load -Xclang mypass.dll -c test.c
opt.exe -load -Xclang mypass.dll -mypass test.bc -o optimized_test.bc
But, Clang and opt didn't working well with my pass.
This mean, my pass
2017 Jul 29
2
Storing "blockaddress(@function, %block)" in a global variable?
Hi,
The LangRef warns that "blockaddress(@function, %block)" has a limited and
target-dependent applicability:
https://llvm.org/docs/LangRef.html#addresses-of-basic-blocks
But I wanted very much to save addresses of blocks in a global variable and
so I did:
% cat cond.c
void foo(long *a) { if (a) *a = 0; }
% clang -O1 -c cond.c -fsanitize-coverage=inline-8bit-counters,pc-table
-S
2013 Aug 07
2
2.2.5 fails to compile - SSL_OP_SINGLE_ECDH_USE : Solaris 10 + Sunstudio 12.3
Hi,
Compile fails in these two files
src/lib-ssl-iostream/iostream-openssl-context.c
src/login-common/ssl-proxy-openssl.c
due to missing SSL_OP_SINGLE_ECDH_USE
In these there is only
#if !defined(OPENSSL_NO_ECDH)
when all the other places it always compares also SSL version
#if !defined(OPENSSL_NO_ECDH) && OPENSSL_VERSION_NUMBER >= 0x10002000L
Tomppa
2017 Jun 06
4
2.2.30.2 fails to compile on centos 7
Just downloaded the latest release 2.2.30.2, ran ./configure with all
defaults and make ...
and it fails to build .. error somewhere whilst running Makefile in lib-http
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2
-Wl,--as-needed -o
2023 Feb 22
1
samba idmap mystery
Hi:
I have a samba dc and a samba member file server.
I use rfc2307 id mapping and posix acl share for windows/linux
client for many years. they are simple and work fine. however in older
versions of samba (maybe 5 years ago). sometimes after I create a user
account at samba dc, the member file server can not recognize it (eg:
"getent passwd xxxx" or "id xxxx" return
2017 Aug 25
3
trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
attempting to compile dovecot 2.2.31 on Sun/Oracle Solaris 10 SPARC.
configure goes fine. First sign of problems during compile is with this warning:
...............................................
*** libssl_iostream_openssl.so is not portable!
...............................................
actual ERRORS - Soon, compile errors out with undefined symbols. Output at
bottom of note.
2016 May 13
2
2.2.24 ldap-client.c compile failing on Solaris 10
Hi,
I'm trying to compile 2.2.24 on Solaris 10 with SolarisStudio 12.4
compiler. Looks like BerVarray is totallly missing from Solaris ldap.
BR,
Tomppa
Making all in lib-ldap
source='ldap-client.c' object='ldap-client.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
/bin/bash ../../libtool --tag=CC --mode=compile cc -std=c11
-DHAVE_CONFIG_H -I.
2018 Mar 20
1
Strange "IMAP connection broken (server response)" errors
On Fri, 20 Oct 2017, Kadlecsik J?zsef wrote:
> On Fri, 6 Oct 2017, Jozsef Kadlecsik wrote:
>
> > We upgraded one of our dovecot servers to debian stretch with dovecot
> > 2.2.27 and since then one of our users has been experiencing random IMAP
> > failures.
> >
> > On the client side the user runs alpine and the corresponding debug lines:
> >
>
2017 Sep 13
2
[RFC master-2.2 0/1] Support OpenSSL 1.1 API for setting allowed TLS versions
Hi,
I came up with the following patch while trying to figure out a good solution
for the situation described in Debian bug #871987[1]. In short, OpenSSL in
Debian unstable has disabled TLSv1.0 and TLSv1.1 *by default*. That means that
unless an application requests otherwise, only TLSv1.2 is supported. In the
world of e-mail this is seemingly an issue, as there are still way too many old
clients
2016 Mar 07
2
Compilation fails: SSL_TXT_SSLV2 not defined
Hello all,
I'm trying to compile dovecot 2.2.21 on OS-X 10.11.3 and I'm running a
bit of trouble with OpenSSL. I've cloned OpenSSL (OpenSSL
1.1.0-pre4-dev) from github and in openssl/ssl.h SSL_TXT_SSLV2 is not
defined anymore. Compilation fails with:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib
-I../../src/lib-test
2016 Nov 13
3
[PATCH] Manually cleanup OpenSSL from dovecot_openssl_common_global_unref()
OpenSSL 1.1 features a cleanup function that is automatically run on shutdown
using atexit(3). This function frees all OpenSSL-allocated resources.
In dovecot, OpenSSL is loaded indirectly using dlopen(3) against the relevant
dovecot crypto module and is finally unloaded using dlclose(3). Until
OpenSSL 1.0.1c this worked fine, however OpenSSL 1.0.1c makes sure[1] that the
library stays loaded
2019 Nov 26
2
ssl_min_protocol = TLSv1.3 does not work
Hi all,
I'm trying to set up my server with support for TLS 1.3 only, but that does
not seem to be supported.
First off, TLS 1.3 itself does work fine, so it's not the config or ssl
library, and 1.3-only works fine with Postfix. The problem is only in
disabling TLS 1.2 for Dovecot.
On connection, I'm getting an error that 1.3 is an "Unknown
ssl_min_protocol setting".
Reading
2013 Aug 27
1
Install of Dovecot 2.2.5 on Solaris 10/Openssl version 0.9.7d 17 Mar 2004
Greetings!
I am attempting to install Dovecot 2.2.5 on Solaris 10 Sparc hardware with openssl version 0.9.7d 17 Mar 2004. I have created a dovecot user and a dove null user, assigned them their own login directories specifying the ksh shell and assigned them to their own groups. I have run the configure command successfully and am having trouble with the make.
At first, I received the problem
2017 Oct 06
2
Strange "IMAP connection broken (server response)" errors
Hello,
We upgraded one of our dovecot servers to debian stretch with dovecot
2.2.27 and since then one of our users has been experiencing random IMAP
failures.
We enabled raw logging at the server side and it shows normal IMAP
commands/responses:
1507292522.222427 * 6 FETCH (FLAGS () BODYSTRUCTURE ("text" "plain"
("charset" "us-ascii")
NIL NIL
2017 Apr 26
2
[BUG] OpenSSL function has been deprecated
In src/lib-ssl-iostream/iostream-openssl-params.c a call is made to DH_generate_parameters. This function has been deprecated since OpenSSL 0.9.8. With OpenSSL 1.1 compilation will throw an error.
Not sure how to send patches, I don't even know if the patch I wrote actually works (I don't program in C, but gave it a shot anyway) but below is the patch.
---
2013 Jan 26
1
[LLVMdev] MCJIT/interpreter and iostream
As of LLVM 3.2, is it possible to use iostream with the MCJIT or interpreter execution engines? I'm getting some errors...
Each of these commands correctly prints "hello":
echo -e '#include <stdio.h>\nint main(){ printf("hello"); }' | clang -cc1 -emit-llvm-bc -x c++ | lli -use-mcjit
echo -e '#include <iostream>\nint main(){ std::cout <<
2018 Mar 04
1
2.2.34 fails to build on OpenBSD
Trying to build Dovecot 2.2.34 on OpenBSD fails.
This seems to have been introduced by this commit..
https://github.com/dovecot/core/commit/4a9020ed888caf03fd3132a30a7818b01daa4b9d
Fairly -current..
/usr/bin/libtool --tag=CC --mode=link cc -std=gnu99 -O2 -pipe -Wall
-W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast
2015 May 04
5
[LLVMdev] Memory Allocation Optimized away with new by not with ::operator new
Hi,
I’ve made my own version of std::vector which is called il::Vector. Due to http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3664.html <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3664.html>, LLVM can optimise away memory allocation. Therefore, the following code optimise away all memory allocation for w resulting in a single allocation during the whole program (for
2015 Jan 07
2
[LLVMdev] Inclusion of iostream affects devirtualization in release_35
Hello,
I've stumbled upon the following behavior in branches/release_35 (as of
218689) under ubuntu 14.04 LTS amd64: whenever I include the (system-wise)
gnu iostream header, clang++ stops devirtualizing the following code:
#if BREAKAGE_ENSUES
#include <iostream>
#endif
struct Base {
virtual int foo() const = 0;
};
struct A : Base {
int a;
A(const int a)
: a(a) {
}
int foo() const
2018 Dec 29
5
2.3.4 doesnt compile on FreeBSD 11.2 using clang
extract below, this has already been reported a while back but still
no new patch, so this email is to serve as a reminder, if someone
manually fixes it for the ports tree, I dont consider that a fix,
ideally we need this fixed in the source code, as not everyone will
install it from ports.
Chris
"clang40 -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib
-I../../src/lib-dns -I../../src/lib-test