Alex Ionescu wrote:
Hi,
Here is my beef with rbuild. I can't fix most of these as I don't have
the skills/knowledge of rbuild.
1) Project link flags are applied at the end of the command
line...this makes -Wl optimization flags not work.
Not fixed yet.
2) DBG = 0 and GCC 4 creates a load of new warnings
that weren't there
before. For example, I can't build ntoskrnl anymore. This is because
it's detecting "uninitialized variables" which are actually being
initalized by the macros themselves (see mm/pe.c and elf.inc.h). This
did not happen before rbuild.
FIXED.
3) Strip isn't being executed for dbg = 0
anymore... I can add it but
I have no idea how to make it dbg = 0 only.
Not fixed. The ntoskrnl binary is 1.3MB instead of ~500KB. Due to #1 and
also because strip -x isn't being executed.
Not sure:
4) Is the OPTIMIZED envirovar still taken into account? I didn't seem
to see so.
Fixed (well, looks like we won't be supporting it, I don't mind)
Best regards,
Alex Ionescu
Best regards,
Alex Ionescu