[syslinux] Memdisk 2.09 with -Os optimisation

Erwan Velu erwan at mandrakesoft.com
Fri May 7 00:39:55 PDT 2004


I've been recompiling syslinux 2.09 and with my gcc 3.3.2, I must use
the -O1 option instead of -Os.
After compiling with -Os, the linker says "undefined reference to
`memcmp'"

My gcc specialist told me that this error was due to a too long inline
of memcmp().

I've tryied my memdisk compiled in O1, the size is really quite the same
and it works fine.

So I will keep memdisk in O1.

Best regards,
-- 
Erwan Velu
Linux Cluster Distribution Project Manager
Mandrakesoft
43 rue d'aboukir 75002 Paris
Phone Number : +33 (0) 1 40 41 17 94
Fax Number   : +33 (0) 1 40 41 92 00
Web site     : http://www.mandrakesoft.com
OpenPGP key  : http://www.mandrakesecure.net/cks/ 




More information about the Syslinux mailing list