http://bugs.winehq.org/show_bug.cgi?id=33535
Bug #: 33535 Summary: Got compile error with gcc 4.7.2 Product: Wine Version: 1.5.29 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv AssignedTo: wine-bugs@winehq.org ReportedBy: atenzd@gmail.com Classification: Unclassified
My OS info: OS: Fedora 18 Kernel: 3.8.11-200.fc18.i686.PAE GCC: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8)
I got compile error when running "make depend" of wine-1.5.29. The build log pointed out that wine-1.5.29/dlls/wineps.drv/data/Palatino_BoldItalic.o was an empty file. I found that the Palatino_Italic.o、Palatino_Roman.o and Symbol.o were also empty.
From the build log, I found these four files were compiled with these
parameters: "gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -o data/Palatino_BoldItalic.o data/Palatino_BoldItalic.c" and the problem occur with "-Wignored-qualifiers". I recompiled these four file manually without "-Wignored-qualifiers" and got nonempty files. Then I run "make" again and no error occurs.
http://bugs.winehq.org/show_bug.cgi?id=33535
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|wineps.drv |-unknown Resolution| |INVALID
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru 2013-05-06 00:35:18 CDT --- Your Wine source is broken.
http://bugs.winehq.org/show_bug.cgi?id=33535
--- Comment #2 from zhtengw atenzd@gmail.com 2013-05-06 00:44:44 CDT --- see build log in http://paste.ubuntu.com/5637629/
http://bugs.winehq.org/show_bug.cgi?id=33535
--- Comment #3 from zhtengw atenzd@gmail.com 2013-05-06 00:47:59 CDT --- (In reply to comment #1)
Your Wine source is broken.
I don't think so. I succeed ot build wine 1.5.29 after I compile the four files manually.
http://bugs.winehq.org/show_bug.cgi?id=33535
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #4 from Qian Hong fracting@gmail.com 2013-05-06 05:13:32 CDT --- (In reply to comment #2)
see build log in http://paste.ubuntu.com/5637629/
Cloud you please try `make distclean` and build again?
http://bugs.winehq.org/show_bug.cgi?id=33535
--- Comment #5 from zhtengw atenzd@gmail.com 2013-05-06 09:41:49 CDT --- (In reply to comment #4)
(In reply to comment #2)
see build log in http://paste.ubuntu.com/5637629/
Cloud you please try `make distclean` and build again?
Actually, I try this again and again. Every time this error repeats.
Only when I try the steps below, the wine-1.5.29 get compiled successfully: 1. go to source directory of wine-1.5.29(it is cleared by running "make distclean") and run configure; 2. run "make" until it stops with the error; 3. compile Palatino_Italic.o、Palatino_Roman.o and Symbol.o manually without the parameter "-Wignored-qualifiers"; 4. then just run "make" again
http://bugs.winehq.org/show_bug.cgi?id=33535
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2013-05-06 09:49:48 CDT --- My guess would be corrupt ccache data.
http://bugs.winehq.org/show_bug.cgi?id=33535
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-05-24 07:09:21 CDT --- Closing INVALID bugs