[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489357: undefined reference to __open_2 on non-linux architectures with -D_FORTIFY_SOURCE=2



reassign 489357 glibc 2.7-1
thanks

In fact the bug is in glibc, the __open_2 is a new symbol in glibc 2.7,
the fix should be made by appropriate porters. The fix for GNU/kFreeBSD
is already in both debian glibc-bsd and pkg-glibc svn, it should appear
in glibc 2.7-13.

Hurd porters, for inspiration please take a look at
sysdeps/unix/sysv/linux/open_2.c. Similarly __open64_2(), __openat_2(), __openat64_2() are also new symbols needed with _FORTIFY_SOURCE in glibc 2.7.


Thanks for spotting this problem

Petr


Reply to: