Bug 7048 - glibc-2.9 doesn't build on i{345}86.
Summary: glibc-2.9 doesn't build on i{345}86.
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 09:03 UTC by Pawel Sikora
Modified: 2014-07-01 21:12 UTC (History)
1 user (show)

See Also:
Host:
Target: i{345}86-gnu-linux
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Sikora 2008-11-25 09:03:37 UTC
the final link of the ld.so on i486 ends with an error:

glibc-2.9/builddir/elf/librtld.os: In function `_dl_tlsdesc_dynamic':
glibc-2.9/elf/../sysdeps/i386/dl-tlsdesc.S:131: undefined reference to
`__i686.get_pc_thunk.bx'

in sysdeps/i386/dl-tlsdesc.S there's is a thunk call w/o definition.

        call        __i686.get_pc_thunk.bx
        addl        $_GLOBAL_OFFSET_TABLE_, %ebx

the LOAD_PIC_REG(bx) macro fixes link failure.
Comment 2 Thomas Schwinge 2008-12-06 18:44:43 UTC
Fixed in CVS HEAD.