custom CFLAGS
Michael Stefaniuc
mstefani at redhat.de
Wed Aug 22 10:12:30 CDT 2001
On Thu, Aug 23, 2001 at 02:49:23AM +1200, mdew wrote:
> too my previous subject... err:module:map_image Could not map section .data, file probably truncated
> the problem was my custom CFLAGS, which havent caused me too many problems...till lately ...(using wine)
>
> export CFLAGS="-O3 -ffast-math -fthread-jumps -fcse-follow-jumps -mpentiumpro -march=pentiumpro -mcpu=i686 -malign-loops=2"
> err:module:map_image Could not map section .data, file probably truncated
> /usr/local/bin/wine: can't exec './xxx.exe': error=21
>
> gcc 2.95.4-6 (Debian Sid) I havent tried gcc-3.0.1 yet, i trust gcc-2.95.4 still...give it another few versions before i'll look at gcc3.
>
> in paticular is the use of -O3 over -O2, -O2 will work, -O3 will fail..why is that?
Acording to the gcc info page:
`-O3'
Optimize yet more. `-O3' turns on all optimizations specified by
`-O2' and also turns on the `inline-functions' option.
bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
System Administration Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.de
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
More information about the wine-devel
mailing list