[ xdvi-Bugs-2849449 ] [PATCH] xdvik compilation error with glibc-2.10 and gcc-4.4
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.tex.xdvi.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2849449, was opened at 2009-09-02 21:10
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=2849449&group_id=23164
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: present also in older versions
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: [PATCH] xdvik compilation error with glibc-2.10 and gcc-4.4
Initial Comment:
compiling with gcc-4.4 with -O3 brings this bug to the light. The problem is that one of calls to open() doen't pass file creation mode, when it should.
You can compile package with -O2 but then it can fail at runtime. attached patch fixes this. if you need more info, please mail me at marbacz <at> gmail [dot] com
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -W -Wall -Wunused -I/usr/include/kpathsea -DPS_GS -I./gui -O3 -march=native -pipe -c util.c -o util.o
In file included from /usr/include/fcntl.h:217,
from /usr/include/sys/file.h:25,
from util.c:33:
In function ‘open’,
inlined from ‘T.143’ at util.c:276,
inlined from ‘xdvi_temp_fd’ at util.c:869:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=2849449&group_id=23164
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
XDvi-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdvi-core