Re: [PATCH] x86/purgatory: Switch to the position-independent small code model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 29. 04. 24, 14:05, Michael Matz wrote:
On Sat, 20 Apr 2024, Borislav Petkov wrote:

Interesting. I thought gcc doesn't have problems here yet and was
talking to Matz on Thu about it and it seems he's forgotten about his
statement too that "you should simply stop using -mcmodel=large.  Noone
should use it." :-)

It may be so ingrained in my brain that I'm not _always_ saying it when
talking about the large code model over a beer.  And indeed I know of no
particular problems with it vis GCC,

Of course you do :). That bsc#1211853 I linked earlier. I.e. gcc-13 + -fstrict-flex-arrays=3 + -mcmodel=large + some asm() expecting __FILE__ to be constant (not true with the large model).

regards,
--
js
suse labs





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux