Hi, I've recently started working on a port of pulseaudio. So far it builds but getting it to run is another thing...
The main issue is that there are various modules which are broken in such a
way that even ldd(1) doesn't know how to deal with them..:
gurthang:modules {537} pwd
/usr/local/lib/pulse-0.9.22/modules
gurthang:modules {538} ldd module-stream-restore.so
module-stream-restore.so:
Cannot load specified object
When run with LD_DEBUG:
gurthang:modules {542} ldd module-stream-restore.so
rtld loading: 'ldd'
exe load offset: 0x0
head ldd
obj ldd has ldd as head
examining: 'ldd'
loading: libc.so.58.3 required by ldd
obj /usr/lib/libc.so.58.3 has ldd as head
linking dep /usr/lib/libc.so.58.3 as child of ldd
examining: '/usr/lib/libc.so.58.3'
obj /usr/libexec/ld.so has ldd as head
rebuil
maxgrouplist = 3
maxchildlist = 1
maxvisit is 1
maxvisit is 2
maxvisit is 6
relocation took 0.000186
Start End Type Open Ref GrpRef Name
0000000000400000 0000000000802000 exe 1 0 0 ldd
000000020a1d6000 000000020a6bc000 rlib 0 1 0
/usr/lib/libc.so.58.3
0000000207b00000 0000000207b00000 rtld 0 1 0
/usr/libexec/ld.so
symcache lookups 219 hits 39 ratio 17% hits
dynamic loading done, success.
sym environ is in ldd
doing ctors obj 0x208c7c4c0 @0x20a1f45a0: [/usr/lib/libc.so.58.3]
entry point: 0x400f00
module-stream-restore.so:
dlopen: loading: /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
head /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
linking /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as
dlopen()ed
head [/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so]
examining: '/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so'
loading: libXext.so.12.0 required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/X11R6/lib/libXext.so.12.0 has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
loading: libexecinfo.so.0.0 required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/local/lib/libexecinfo.so.0.0 has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
loading: libsamplerate.so.2.0 required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/local/lib/libsamplerate.so.2.0 has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
loading: libxcb.so.2.2 required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/X11R6/lib/libxcb.so.2.2 has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
loading: libsndfile.so.3.3 required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/local/lib/libsndfile.so.3.3 has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
loading: libdbus-1.so.9.1 required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/local/lib/libdbus-1.so.9.1 has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
loading: libpulse.so.0.0 required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
obj /usr/local/lib/libpulse.so.0.0 has
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so as head
loading: libprotocol-native.so required by
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
dlopen: failed to open libprotocol-native.so
unload_shlib called on
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
unload_shlib unloading on
/usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so
dlopen: /usr/local/lib/pulse-0.9.22/modules/module-stream-restore.so: done
(failed).
Cannot load specified object
doing dtors
doing dtors obj 0x208c7c4c0 @0x20a277d80: [/usr/lib/libc.so.58.3]
gurthang:modules {543}
Stuart suggested to revert the ld.so speedup diff, but that didn't make a
difference. Any idea how to further debug this?
I've attached my WIP port for anyone who could look at it.
--
Cheers,
Jasper
"Capable, generous men do not create victims, they nurture them."
pulseaudio.tgz
Description: application/tar-gz
