Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
959113d2
Commit
959113d2
authored
Dec 20, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: Try to detect glibc 2.3 without NPTL or TLS and print a warning.
parent
2a1dc157
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
kthread.c
loader/kthread.c
+8
-0
No files found.
loader/kthread.c
View file @
959113d2
...
...
@@ -903,6 +903,14 @@ void __pthread_initialize(void)
if
(
!
done
)
{
done
=
1
;
/* check for exported epoll_create to detect glibc versions that we cannot support */
if
(
wine_dlsym
(
RTLD_DEFAULT
,
"epoll_create"
,
NULL
,
0
))
{
static
const
char
warning
[]
=
"wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
\n
"
" It will most likely crash. Please upgrade to a glibc with NPTL support.
\n
"
;
write
(
2
,
warning
,
sizeof
(
warning
)
-
1
);
}
libc_fork
=
wine_dlsym
(
RTLD_NEXT
,
"fork"
,
NULL
,
0
);
libc_sigaction
=
wine_dlsym
(
RTLD_NEXT
,
"sigaction"
,
NULL
,
0
);
libc_uselocale
=
wine_dlsym
(
RTLD_DEFAULT
,
"uselocale"
,
NULL
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment