Bug 37752
Summary: | lack of fstat() | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <krp> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | fweimer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-04-26 08:50:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2001-04-26 08:50:22 UTC
No, the problem is in Lahey libraries. Each library should have its own private copies of stat/fstat/lstat/mknod if not all their occurences are inlined. Current glibc just enforces this. Either request the libraries to be recompiled, or link things with additional objects which will as workaround export those symbols until this is fixed in Lahey, something like: #include <sys/stat.h> #undef fstat #undef __fstat int __fstat (int fd, struct stat *buf) { return __fxstat (_STAT_VER, fd, buf); } extern int fstat (int fd, struct stat *buf) __attribute__((weak, alias("__fstat"))); and similarly for other functions. |