Hi Linus,
Thanks for the report!
On Fri, May 26, 2000 at 01:22:25PM +0200, Linus Nordberg wrote:
> The parsing of /usr/bin/nm output on AIX (at least 4.1.4.0 and
> 4.3.2.0) fails.
>
> config.log:
>
> ltconfig:1871: eval "nm conftest.o | sed -n -e 's/^.*[ ]\([BCDT]\)[ ][
> ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
> cannot run sed -n -e 's/^.*[ ]\([BCDT]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-
> z0-9]*\)$/\1 \2\3 \3/p'
>
>
> Example of nm output:
>
> .nm_test_func T 0 42
> [...]
> nm_test_func D 128
> nm_test_func d 128 12
> nm_test_func:F-11 - 0
Yikes. This looks like the AIX sed implementation chokes on our
setting of $global_symbol_pipe. You can confirm that by trying GNU
sed, which ought to process the sed script properly. The difficult
bit is then to find a functionally equivalent sed script which works
with AIX sed...
Cheers,
Gary.
--
___ _ ___ __ _ mailto: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc