Re: CREL relocation format for ELF (was: RELLEB)

2024-03-28 Thread Fangrui Song via Gcc
On Fri, Mar 22, 2024 at 6:51 PM Fangrui Song wrote: > > On Thu, Mar 14, 2024 at 5:16 PM Fangrui Song wrote: > > > > The relocation formats REL and RELA for ELF are inefficient. In a > > release build of Clang for x86-64, .rela.* sections consume a > > significant portion (approximately 20.9%) of

Re: [RFC] add regenerate Makefile target

2024-03-28 Thread Jens Remus via Gcc
Am 27.03.2024 um 19:14 schrieb Christophe Lyon: On Tue, 26 Mar 2024 at 16:42, Jens Remus wrote: Am 15.03.2024 um 09:50 schrieb Christophe Lyon: On Thu, 14 Mar 2024 at 19:10, Simon Marchi wrote: On 2024-03-13 04:02, Christophe Lyon via Gdb wrote: ... There's just the issue of files that are

Re: Building Single Tree for a Specific Set of CFLAGS

2024-03-28 Thread Christophe Lyon via Gcc
On 3/27/24 20:07, Joel Sherrill wrote: On Wed, Mar 27, 2024 at 3:53 AM Christophe Lyon via Gcc > wrote: Hi! On 3/26/24 22:52, Joel Sherrill via Gcc wrote: > Hi > > For RTEMS, we normally build a multilib'ed gcc+newlib, but I have a case

Re: CREL relocation format for ELF

2024-03-28 Thread Jan Beulich via Gcc
On 28.03.2024 08:43, Fangrui Song wrote: > On Fri, Mar 22, 2024 at 6:51 PM Fangrui Song wrote: >> >> On Thu, Mar 14, 2024 at 5:16 PM Fangrui Song wrote: >>> >>> The relocation formats REL and RELA for ELF are inefficient. In a >>> release build of Clang for x86-64, .rela.* sections consume a >>>

A problem about g++ 4.8.5

2024-03-28 Thread shaoben zhu via Gcc
I compile my program using g++ 4.8.5, I find that when my program exits, it first deconstructs the static member variables of class A, and then deconstructs a global object of class A. This caused an error in my program. Could you tell me how can I avoid this problem?Upgrade compiler version?Modify

Re: A problem about g++ 4.8.5

2024-03-28 Thread Jonathan Wakely via Gcc
Hello, This mailing list is for discussion the development of GCC itself. Please use the gcc-help mailing list for help questions. Please send any replies to that list instead of this one, thanks. On Thu, 28 Mar 2024 at 09:35, shaoben zhu via Gcc wrote: > > I compile my program using g++ 4.8.5, I

Re: CREL relocation format for ELF (was: RELLEB)

2024-03-28 Thread Alan Modra via Gcc
On Fri, Mar 22, 2024 at 06:51:41PM -0700, Fangrui Song wrote: > On Thu, Mar 14, 2024 at 5:16 PM Fangrui Song wrote: > > I propose RELLEB, a new format offering significant file size > > reductions: 17.2% (x86-64), 16.5% (aarch64), and even 32.4% (riscv64)! > > > > Your thoughts on RELLEB are welco

Re: CREL relocation format for ELF (was: RELLEB)

2024-03-28 Thread Fangrui Song via Gcc
On Thu, Mar 28, 2024 at 6:04 AM Alan Modra wrote: > > On Fri, Mar 22, 2024 at 06:51:41PM -0700, Fangrui Song wrote: > > On Thu, Mar 14, 2024 at 5:16 PM Fangrui Song wrote: > > > I propose RELLEB, a new format offering significant file size > > > reductions: 17.2% (x86-64), 16.5% (aarch64), and ev

gcc-11-20240328 is now available

2024-03-28 Thread GCC Administrator via Gcc
Snapshot gcc-11-20240328 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20240328/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch