Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232081 - sys-devel/gettext-0.17-r1 - open with O_CREAT in second argument needs 3 arguments in gettext
Summary: sys-devel/gettext-0.17-r1 - open with O_CREAT in second argument needs 3 argu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2008-07-17 15:33 UTC by Magnus Granberg
Modified: 2009-02-17 21:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix O_CREAT bug in gettext (gettext-open-file-fortify.patch,617 bytes, patch)
2008-07-17 15:34 UTC, Magnus Granberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2008-07-17 15:33:11 UTC
fPIC -DPIC -o .libs/color.o
In function 'open',
    inlined from 'msgdomain_list_print' at write-catalog.c:223:
/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
make[4]: *** [write-catalog.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
O_CREAT bug in 0.17 gettext
Gcc 4.3.1 whit fortify_source=2
https://hardened.gentooexperimental.org/secure/ticket/29
Comment 1 Magnus Granberg gentoo-dev 2008-07-17 15:34:53 UTC
Created attachment 160644 [details, diff]
Fix O_CREAT bug in gettext
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-26 22:31:19 UTC
+  26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/gettext-0.17-open-args.patch, gettext-0.17.ebuild:
+  Fix bug #232081, gcc-4.3 compat. Thanks to Magnus Granberg <zorry@ume.nu>.
+