Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
bcfa778f
Commit
bcfa778f
authored
Oct 21, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blacklist glibc 2.10-2.10.1 for 686
I'm not going to suffer another round of VLC bug reports due to glibc.
parent
80f9f873
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
src/misc/linux_specific.c
src/misc/linux_specific.c
+21
-2
No files found.
src/misc/linux_specific.c
View file @
bcfa778f
...
...
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <vlc_common.h>
#include "../libvlc.h"
...
...
@@ -87,13 +88,31 @@ void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[])
* process might have called setlocale(). */
if
(
strverscmp
(
glcv
,
"2.5"
)
>=
0
&&
strverscmp
(
glcv
,
"2.8"
)
<
0
)
{
fputs
(
"LibVLC has detected an unusable buggy GNU/libc version.
\n
"
"Please update to version 2.8 or newer.
\n
"
,
stderr
);
fputs
(
"LibVLC has detected an unusable buggy GNU/libc version.
\n
"
,
stderr
);
fputs
(
"Please update to version 2.8 or newer.
\n
"
,
stderr
);
fflush
(
stderr
);
#ifndef DISABLE_BUGGY_GLIBC_CHECK
abort
();
#endif
}
# ifdef __i386__
/* glibc 2.10, 2.10.1 fail in pthread_cond_wait on 686 */
struct
stat
st
;
if
(
strverscmp
(
glcv
,
"2.10"
)
>=
0
&&
strverscmp
(
glcv
,
"2.10.1"
)
<=
0
/* update version when fixed */
&&
!
stat
(
"/lib/i686/cmov/libpthread.so.0"
,
&
st
))
{
fputs
(
"LibVLC has detected an unusable buggy GNU/libc version.
\n
"
,
stderr
);
fputs
(
"Please remove GNU/libc acceleration for 686.
\n
"
,
stderr
);
fflush
(
stderr
);
# ifndef DISABLE_BUGGY_GLIBC_CHECK
abort
();
# endif
}
# endif
#endif
#if 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