In message: <200601301212.k0UCCnu6054149_at_lurza.secnetix.de> Oliver Fromme <olli_at_lurza.secnetix.de> writes: : Luigi Rizzo <rizzo_at_icir.org> wrote: : > just discovered, trying to resurrect picobsd on -current, : > that the compiler in 6.x/7.x has become smart and, at least : > with the default compilation flags, will optimize out : > the "end_mfs_root" string from the object. : : Shouldn't it be sufficient to declare the string as volatile? : That should prevent it from being optimized by the compiler. I know that for the arm board I'm working on, MFS works great. The proposed patch looks interesting, but I'm not sure why it is necessary. I think removing the 'static' would be sufficient... WarnerReceived on Tue Jan 31 2006 - 06:17:17 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC