Displaying 4 results from an estimated 4 matches for "stdio_impl".
2013 Jan 09
0
[LLVMdev] [lld] ELF weak aliases
...dx_used symbols.
When the other object provides a definition for __stdout_used, the atom
gets the property of the other object which defines the atom isnt it, and
so as the ordinal too riht ?
Couldnt follow how did the others move ?
This is what I see with binutils/ld :-
$cat 1.c
#include "stdio_impl.h"
static FILE *const dummy_file = 0;
weak_alias(dummy_file, __stdin_used);
weak_alias(dummy_file, __stdout_used);
weak_alias(dummy_file, __stderr_used);
$cat 2.c
int __stdout_used = 10;
$readelf -s 1.o | grep -E 'used|dummy_file'
6: 0000000000000000 8 OBJECT LOCAL DEFAULT...
2013 Jan 09
4
[LLVMdev] [lld] ELF weak aliases
So I just got lua to link and run and work on x86-64 Linux with musl
and lld. It did require one change to hack around incorrect handling
of ELF weak aliases.
In musl __stdio_exit.c
<http://git.musl-libc.org/cgit/musl/tree/src/stdio/__stdio_exit.c> we
have:
static FILE *const dummy_file = 0;
weak_alias(dummy_file, __stdin_used);
weak_alias(dummy_file, __stdout_used);
weak_alias(dummy_file,
2013 Jan 09
2
[LLVMdev] [lld] ELF weak aliases
...om
> gets the property of the other object which defines the atom isnt it, and
> so as the ordinal too riht ?
>
> Couldnt follow how did the others move ?
I'm not quite sure what you mean here.
>
> This is what I see with binutils/ld :-
>
> $cat 1.c
> #include "stdio_impl.h"
>
> static FILE *const dummy_file = 0;
> weak_alias(dummy_file, __stdin_used);
> weak_alias(dummy_file, __stdout_used);
> weak_alias(dummy_file, __stderr_used);
>
> $cat 2.c
> int __stdout_used = 10;
> $readelf -s 1.o | grep -E 'used|dummy_file'
>...
2010 Jul 04
5
dovecot-1.2.12 fails to build on Solaris 8 and 10
configure fails with :
configure: error: Unsupported off_t type
I am not too sure what off_t is needed but this is a pretty standard thing.
My configure line :
./configure --build=i386-pc-solaris2.10 --host=i386-pc-solaris2.10
--prefix=/opt/csw --with-zlib --with-ssl=openssl
--with-storages=mbox,maildir --with-libiconv-prefix=/opt/csw
Yes, the openssl libs are in /opt/csw/lib
Not sure what