Re: WWDC thread: support for darwin/macOS going forward

2020-06-22 Thread Dmitry Mikushin
Homebrew has GCC 9, which offers flawless development experience, at least up to quite advanced applications. There of course could be corner cases in ABI, exceptions handling, etc., which I however never came across myself on MacOS. Thus, discussing gcc 4.2 seems to be highly nonsensical these

Re: The gcc version used for compiling qt4.

2020-05-18 Thread Dmitry Mikushin
Qt4 is an old release (the current one is almost Qt6). A newer compiler is usually backward-compatible with older codes. So you should be able to compile Qt4 on Ubuntu 20.04 with system-provided GCC right away. пн, 18 мая 2020 г. в 14:34, Hongyi Zhao via Gcc : > Hi, > > I want to compile qt4 on

Re: Can we please have the old mailing list back

2020-03-25 Thread Dmitry Mikushin
Maybe the best form of question is: Could the Overseer be so kind to release the dump of the original old mailing list on any free public file server? ср, 25 мар. 2020 г. в 21:29, Bernd Edlinger : > -On 3/25/20 7:55 PM, Christopher Faylor wrote: > > On Wed, Mar 25, 2020 at 04:23:02PM +0700,

Re: Does gcc automatically lower optimization level for very large routines?

2019-12-20 Thread Dmitry Mikushin
that this is the best way, but often the way it is. пт, 20 дек. 2019 г. в 23:52, Segher Boessenkool : > On Fri, Dec 20, 2019 at 02:57:57AM +0100, Dmitry Mikushin wrote: > > Trying to plan memory consumption ahead-of-work contradicts with the > nature > > of the graph traversal. E

Re: Does gcc automatically lower optimization level for very large routines?

2019-12-19 Thread Dmitry Mikushin
Trying to plan memory consumption ahead-of-work contradicts with the nature of the graph traversal. Estimation may work very well for something simple like linear or log-linear behavior. But many compiler algorithms are known to be polynomial or exponential (or even worse in case of bugs). So,

Re: Does gcc automatically lower optimization level for very large routines?

2019-12-19 Thread Dmitry Mikushin
This issue is well-known in research/scientific software. The problem of compiler hang or RAM overconsumption is actually not about the routine size, but about too complicated control flow. When optimizing, the compiler traverses the control flow graph, which may have the misfortune to explode in

Re: GSoC

2019-03-01 Thread Dmitry Mikushin
Linear equation solvers is not the scope of . There are many packages serving this particular purpose, try looking into e.g. LAPACK. Kind regards, - Dmitry. пт, 1 мар. 2019 г. в 23:09, Ahmed Ashraf : > Hello, > I am Ahmed Ashraf, a first-year student at the Computer Engineering > Department,

Re: gcc 8.1 + libc.a

2018-10-03 Thread Dmitry Mikushin
First of, "error opening libc.a" message looks highly unusual. It's not the way ld typically complains about a missing library or wrong architecture. More likely, here it is rather some gcc-internal lib.a to be deployed in some special way, but was missing. I would try two things: 1) Re-iterate

Re: How to get GCC on par with ICC?

2018-06-06 Thread Dmitry Mikushin
esponds to (at least) "-O3 -ffast-math -march=native" of GCC. Omitting "-ffast-math" obviously introduces significant performance gap. Kind regards, - Dmitry Mikushin | Applied Parallel Computing LLC | https://parallel-computing.pro 2018-06-06 18:51 GMT+03:00 Paul Menzel :

Re: OpenACC in GCC - how does it not violate the license?

2013-11-16 Thread Dmitry Mikushin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Alec, Nvidia (IIRC, this was like a year ago though) don't even give out the instruction set for their GPUs I understand you don't want to bound to PTX virtual assembler, as it conversion to GPU native assembler relies on proprietary component.

Re: unrecognized command line option '-mlong-double-80' '-fbuilding-libgcc'

2013-10-24 Thread Dmitry Mikushin
/libiberty.a ../libdecnumber/libdecnumber.a ../../gcc/vec.h:1303: error: undefined reference to 'operator new(unsigned int)' collect2: error: ld returned 1 exit status On 10/24/2013 07:51 AM, Dmitry Mikushin wrote: Ian, I'm NOT using --build/--host/--target: + CC=gcc -m32 CXX=g++ -m32 FC=gfortran

unrecognized command line option '-mlong-double-80' '-fbuilding-libgcc'

2013-10-20 Thread Dmitry Mikushin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear all, I'm trying to build a GCC toolchain (4.8-20130912 snapshot) targeting x86-64 multiarch on i686 host, using x86-64 builder: + cd /home/marcusmae/rpmbuild/kernelgen/head_llvm192445_i686-linux-gnu_x86_64-linux-gnu_debug/BUILD/gcc-4.8-20130912

Re: Error: no such instruction: `eovq -32(%rbp),%rdx'

2013-07-13 Thread Dmitry Mikushin
num_claimed_files; i++) { GCC compiled with this change is used to recompile GCC itself. LTO is not used, so I did not expect any problem. However, GCC built with this change randomly segfaults or corrupts the output assembly files. - - D. On 07/04/2013 06:31 AM, Anthony Foiani wrote: Dmitry Mikushin dmi

Error: no such instruction: `eovq -32(%rbp),%rdx'

2013-07-03 Thread Dmitry Mikushin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear all, With gcc-4.7-20130629 and binutils-2.23.2 I'm getting Error: no such instruction: `eovq -32(%rbp),%rdx' There was no such issue with May' gcc snapshot and binutils-2.22. Is it a binutils-specific problem? Which version of binutils is

Re: Plan for removing global state from GCC's internals

2013-06-26 Thread Dmitry Mikushin
FWIW, we also needed to perform multiple invocations of toplev_main from a single execution of GCC frontend, which seems to be quite similar. The dirty dirty hack is to save the backup the content of .data and .bss symbols with ELF API before the first call to toplev_main and reset them to backup

Re: Plan for removing global state from GCC's internals

2013-06-26 Thread Dmitry Mikushin
and very fragile. That's why I'm saying FWIW, meaning it might be useful for some internal transitioning during your very useful effort. - D. On 06/26/2013 03:54 PM, David Malcolm wrote: On Wed, 2013-06-26 at 15:19 -0400, Dmitry Mikushin wrote: FWIW, we also needed to perform multiple invocations

Re: Primary and secondary sysroot?

2013-01-17 Thread Dmitry Mikushin
AM, Ian Lance Taylor wrote: On Mon, Jan 7, 2013 at 2:47 AM, Dmitry Mikushin dmi...@kernelgen.org wrote: We have a version of GCC coming as additional toolchain for several supported Linux distros. Moreover, package we are shipping also contains modified glibc and some other libraries

Primary and secondary sysroot?

2013-01-07 Thread Dmitry Mikushin
Deal all, We have a version of GCC coming as additional toolchain for several supported Linux distros. Moreover, package we are shipping also contains modified glibc and some other libraries. In this situation, applications built with this compiler should first logically use its own sysroot,

How to write an array var into .s file without null-terminator

2012-12-11 Thread Dmitry Mikushin
Dear All, We are trying to embed a raw vector of chars into .s file using the following code: tree index_type = build_index_type(size_int(moduleBitcode.size())); tree const_char_type = build_qualified_type( unsigned_char_type_node, TYPE_QUAL_CONST); tree

How to write an array var into .s file without null-terminator

2012-12-11 Thread Dmitry Mikushin
Dear All, We are trying to embed a raw vector of chars into .s file using the following code: tree index_type = build_index_type(size_int(moduleBitcode.size())); tree const_char_type = build_qualified_type( unsigned_char_type_node, TYPE_QUAL_CONST); tree