xorg fails to start if linked with -Bsymbolic-functions
Bug #230460 reported by
StefanPotyra
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxfont (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
version: 1:1.3.2-1ubuntu1
See the corresponding bug 226156.
Changed in libxfont: | |
status: | New → Confirmed |
To post a comment you must log in.
Ok, after some tests, here's the answer to what -Bsymbolic- functions does:
Let's assume libxfont1 defines a function
extern void foo(void);
and also uses this function.
With -Bsymbolic- functions, the call inside libxfont1 will always resolve to the function located in libxfont1.
Without the linker option, it's possible for a program (or library) linking against libxfont1 to override foo(), by specifying an own version of it. Then the call inside libxfont1 will get resolved to the version defined in the program instead.