[Bug target/79935] DJGPP: misaligned stack in static constructors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 Andris Pavenis changed: What|Removed |Added CC||andris.pavenis at iki dot fi --- Comment #6 from Andris Pavenis --- Failed to reproduce - gcc-6.3.0 - Windows 10 32 bit VM (VirtualBox) under Fedora 25 x86_64 - DJGPP libc trunk version (should also work with DJGPP v2.05) Alignments supported by GCC (up to 128 seems) to work OK for me.
[Bug target/79935] DJGPP: misaligned stack in static constructors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 --- Comment #5 from DJ Delorie --- DJGPP issues should be sent to the dj...@delorie.com mailing list, or comp.os.msdos.djgpp newsgroup.
[Bug target/79935] DJGPP: misaligned stack in static constructors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 --- Comment #4 from jwjagersma at gmail dot com --- > More likely, DJGPP just doesn't support more than 8-byte alignment. I just had the same problem in a normal function too, so I suppose that is the case then. I do think djgpp should support 16-byte alignment since programs compiled with it could potentially use SSE instructions (which is what I'm trying to do, using -O3 -march=pentium3) which cause GP faults on misaligned memory access. Where do I submit this to the djgpp list? The bug tracker on delorie.com seems very inactive.
[Bug target/79935] DJGPP: misaligned stack in static constructors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 DJ Delorie changed: What|Removed |Added CC||dj at redhat dot com --- Comment #3 from DJ Delorie --- More likely, DJGPP just doesn't support more than 8-byte alignment. Either way, this is something that should be investigated on the djgpp list first, and brought back here only if it's proven to be a gcc problem.
[Bug target/79935] DJGPP: misaligned stack in static constructors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- Or, if MSWin for djgpp never guarantees stack 16-byte alignment, missing STACK_REALIGN_DEFAULT redefinition. There is e.g.: gcc/config/i386/cygming.h:#define STACK_REALIGN_DEFAULT TARGET_SSE gcc/config/i386/sol2.h:#define STACK_REALIGN_DEFAULT (TARGET_64BIT ? 0 : 1) But gcc/config/i386/djgpp.h doesn't override it.
[Bug target/79935] DJGPP: misaligned stack in static constructors
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79935 --- Comment #1 from Richard Biener --- Sounds like a bug in the dynamic loader then?