User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19 Build Identifier: The summary already says all. I've built calligra 2.4.0 using gcc 4.7 and words doesn't open any docx file. If I downgrade to 2.3.92 (built using gcc 4.6) docx support is fine. Reproducible: Always Steps to Reproduce: 1. Upgrade to GCC 4.7 2. Build Calligra 3. Try to open a docx file Actual Results: I get: "The manifest file seems to be corrupted. The document could not be opened." then: "Could not open /tmp/new-docx-file.docx Reason: Not a valid Calligra file: /tmp/kde-user/wordsl11263.tmp" Expected Results: Words opens the docx file GCC 4.7 KDE 4.8 x86_64
Hm, I tested just now with one of the test files in calligratests, and it seems to work. More investigation needed, but could you add one of your test docx files to the bug? Or if private, mail it boud@valdyas.org?
Created attachment 70416 [details] Docx test file Simple docx file to test this bug. I created it with LibreOffice.
It bugs even with a simple "Hello world" doc and docx file... MS word 97 support is also broken...
I must have done something wrong when enabling gcc 4.7 on my laptop, since I cannot reproduce yet.
My flags are: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
*** This bug has been marked as a duplicate of bug 298134 ***