similar to: Building with debug symbols and different optimisation levels

Displaying 20 results from an estimated 20000 matches similar to: "Building with debug symbols and different optimisation levels"

2017 Jun 24
3
Definitive list of optimisations at each optimisation level
I am often asked what optimisations "our" compiler performs at each level. But "our" compiler is actually CLang/LLVM which we have retargeted to our proprietary target. Most of the work we do is in maintaining our target specific backend. Certainly there are optimisations that we do to take best advantage of our instruction set during lowering and instruction selection, and
2017 Jun 24
2
Definitive list of optimisations at each optimisation level
Right but then you'll have to call each opt level. Have u looked in the pass manager? On Jun 24, 2017 3:52 PM, "Sean Silva via llvm-dev" <llvm-dev at lists.llvm.org> wrote: > The most definitive list you can probably hope to get will be obtained by > passing -mllvm -debug-pass=Structure to a clang invocation. > > -- Sean Silva > > On Jun 24, 2017 7:10 AM,
2023 Jun 06
5
Trying to build Samba from source on RHEL 8
Hi, I'm trying to build Samba from source on a RHEL version 8 server. I installed all the necessary packages and untarred the source for Samba version 4.6.10. In the past I have been able to successfully build and install Samba version 4.13.17 on a RHEL version 7 server with Python2. Here I believe I am using Python3, but I cannot seem to get past the configure command: [root at v2ecsqapp09
2023 Jan 18
1
Building samba 4.17.4 on CentOS7
I don't think you are going to have much luck getting 4.17 working on CentOS 7. We recently moved from CentOS 7 (4.13) to Rocky Linux 8 (4.16) and the install process was much easier. On Wed, Jan 18, 2023 at 12:03 PM Greg Dickie via samba < samba at lists.samba.org> wrote: > Ok now, but did 4.10.16? I was just trying to rebuild their source RPM. > > Trying 4.17 on the command
2023 Jan 18
2
Building samba 4.17.4 on CentOS7
Ok now, but did 4.10.16? I was just trying to rebuild their source RPM. Trying 4.17 on the command line (with python3) gives me: > [root at srvlxfs2 samba-4.17.4]# ./configure > Setting top to : > /root/rpmbuild/BUILD/samba-4.17.4 > Setting out to : > /root/rpmbuild/BUILD/samba-4.17.4/bin > Checking for 'gcc' (C
2017 Jun 03
3
Building from source on an ARM71 based router
​No, sorry, it's actually failing on "configure" which this script calls. I should have been more clear. ./configured is failing at step: ​*Checking uname sysname type* It's obviously missing some app/header/library, but reading through all the breakpoints listed in the error (re-pasted below) I can't make out from the code what it's looking for, and the config.log
2017 Jun 03
2
Building from source on an ARM71 based router
I am trying to build Samba 4.6.4 on an ARM 7 Cortex based router (Netgear R8000), running *DD-WRT v3.0-r31980M kongac (05/11/17)* I'm working with some folks via the DDWRT, but we're running into an issue trying to build from source. I have python 2.7 already installed on the router, and I'm executing the install_with_python.sh script. ./install_with_python.sh /opt/test/samba-4.6.4
2017 Jun 25
2
Definitive list of optimisations at each optimisation level
I agree, it's much clearer, it just takes runs at multiple opt levels and therefore I don't find it to be a "one stop shop". On Jun 24, 2017 8:44 PM, "Sean Silva" <chisophugis at gmail.com> wrote: > Looking at PassManagerBuilder can be useful because there are sometimes > comments giving some idea of the intent of the particular choice of passes, > but
2017 Oct 03
2
Change in optimisation with UB in mind
Hi Sanjoy, Yes these are C tests (from 'gcc.c-torture/execute'), and as I indicated in my original message, the tests are not valid because the behaviour is undefined. However, it was while investigating these new failures in these tests that I realised that this optimisation existed. The optimisation itself is perfectly valid, but it does mean that integer underflow will no longer be
2014 Jun 21
1
broken samba-4.1.8 waf configure
21 jun 2014 the version numbers changed (samba-4.1.8), but the problem remains exactly the same: waf configure continues to break at krb5. frank smith 31 may 2014 greetings, in the (relatively distant) past, i several times downloaded, built, and ran the then-current version of samba with little to no problem. i recently experienced similar successful results with samba-3.6.23. i
2016 Oct 26
6
samba-4.5.1 build problem
Dear Samba experts, I tried to install the latest Samba release the way I did it always, i.e. starting with: ./configure --prefix=/usr/local/samba \ --with-piddir=/usr/local/samba/var/run \ --with-syslog \ --with-quotas \ --with-acl-support \ --enable-debug \ --enable-cups \ --enable-selftest \
2015 Oct 22
1
how to build smbtorture using static linked libraries
Hello all: I am trying to build smbtorture using static linked libraries. The samba source code I have is samba-4.1.13 for configure, I did: waf configure --builtin-libraries=ALL for build, I did: waf build --targets=smbtorture (so that it only build target smbtorture) But, the waf build fails immediately. Then, I tried to only link with lib talloc and tevent statically, so I did: waf
2011 Sep 08
3
global optimisation with inequality constraints
Dear All, I would like to minimise a nonlinear function subject to linear inequality constraints as part of an R program. I have been using the constrOptim function. I have tried all of the methods that come with Optim, but nothing finds the correct solution. If I use the correct solution as the vector of starting values, though, my program does output the correct solution and optimum - the
2016 Dec 21
1
compiling Samba4 on Solaris11
I am unable to compile Samba 4.4.7, 4.5.1 or 4.5.3 on Solaris 11. I had been able in the past so maybe an update to GCC broke something. GCC 4.8 is the default. I then installed GCC 4.9. /usr/bin/gcc is a symlink to /usr/gcc/4.9/bin/gcc. I compiled the latest openldap (client only) to the samba target directory. Set environmental variables so the krb5.h and openldap would be found.
2010 Jul 16
2
[LLVMdev] How to visualise Clang optimisation phases
When I'm trying to understand how or why the back end does something I've found the -view-* options to llc to be useful. It's not ideal, because "clang" doesn't take those options, so I have to invoke first "clang" and then "llc", and sometimes that combination gives different final code from invoking just "clang", but usually I can construct
2015 Oct 22
2
how to build smbtorture using static linked libraries
Hello all: I am trying to build smbtorture using static linked libraries. The samba source code I have is samba-4.1.13 for configure, I did: waf configure --builtin-libraries=ALL for build, I did: waf build --targets=smbtorture (so that it only build target smbtorture) But, the waf build fails immediately. Then, I tried to only link with lib talloc and tevent statically, so I did: waf
2012 Jul 30
1
"make install" fails, can't link libreplace.inst.so
I can compile Samba4 beta 4, but can't install it: root at samba4dc:/usr/src/samba-4.0.0beta4# ./configure.developer <snip> 'configure' finished successfully (49.871s) root at samba4dc:/usr/src/samba-4.0.0beta4# make WAF_MAKE=1 ./buildtools/bin/waf build <snip> Waf: Leaving directory `/usr/src/samba-4.0.0beta4/bin' 'build' finished successfully
2017 Sep 29
2
Change in optimisation with UB in mind
With LLVM v5.0, I found failures in some of the 'gcc.c-torture/execute' tests due to a change in the optimisation where undefined behaviour is involved. The tests that fail are the '20040409-[123].c' tests. The underlying failure is due to the optimisation of the following: int test2(int x) { return x + INT_MIN; } from using an ADD instruction to using an OR instruction.
2015 Mar 07
3
4.2.0 Relocation error
Greetings, I am trying to get 4.2.0 Installed on a raspberry pi 2, I can build and install, but upon running samba -D I get the following: root at pdc1:/home/pi# samba -D samba: relocation error: samba: symbol lpcfg_lock_directory, version SAMBA_HOSTCONFIG_0.0.1 not defined in file libsamba-hostconfig.so.0 with link time reference I used the following to configure and build waf configure
2009 Feb 05
2
Non-linear optimisation
Hi there, I have a piece of Matlab code I use to optimise a trding strategy. If there are any Matlab/R specialists out there, I would appreciate your help in doing the exact same optimisation in R. I suspect I would use nlm() in R but am not sure where to define my constraints. I have attached my Matlab code below for reference. Many thanks. Constraints function [c,ceq]=TriskellConstraints(X)