Subject: bin/8599: -ggdb loses on PowerPC
To: None <firstname.lastname@example.org>
From: Charles M. Hannum <email@example.com>
Date: 10/09/1999 21:47:49
>Synopsis: -ggdb loses on PowerPC
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Sat Oct 9 21:03:00 1999
>Originator: Charles M. Hannum
`cc -ggdb' usually fails on PowerPC systems. This causes
pkgsrc/mbone/nte to not build.
$ cat >foo.c
$ cc -c -ggdb foo.c
ggdb.s.powerpc: Assembler messages:
ggdb.s.powerpc:70: Error: Bad expression
ggdb.s.powerpc:70: Error: Rest of line ignored. First ignored character is `f'.
This apparently has something to do with the way GCC generates
references to items in the `short' data and bss sections
(.sdata and .sbss). Our assembler does not know the syntax it
The correct solution would be to fix the assembler.
Alternatively, one could change SDATA_DEFAULT_SIZE to 0 for
now, causing .sdata and .sbss to not be used. This would have
a performance impact on compiled executables, though.
As a hack just for pkgsrc/mbone/nte, one could simply modify
it to not build with `-ggdb'. It's rather pointless given
that the executable is usually installed stripped anyway.