On Sun, Oct 26, 2008 at 7:07 PM, Martin Bochnig <martin at martux.org> wrote:
> No, one cannot even say at this point if and where I have produced
> bugs when modifying the pkgdefs.
> The entire build fails at hundred points, both on x86 and on SPARC.
> One of the root causes appears to be, that
> xserver/xorg/build_32/mapfile-Xorg-externs (and
> xserver/xorg/build_64/mapfile-Xorg-externs) are in an unusable state:
>
> The left column is just empty:
>
>    = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>     = DATA extern;
>     = FUNCTION extern;
>
> Hence the server fails, and consequently all drivers. That's odd. How
> could this happen?
>
> Another thing from the root evils which I see is this (both SPARC and
> x86/x64), but it can actually be a follow-up consequence of the
> unusable mapfile :
>
> Undefined                       first referenced
>  symbol                             in file
> XdmcpWrap                           ../../os/os.O
> XdmcpUnwrap                         ../../os/os.O
> ld: fatal: Symbol referencing errors. No output written to Xorg
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `Xorg'
> Current working directory
> /export/home/bochnig/fox/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/build_32/xorg-server-1.3.0.0/hw/xfree86
>
> It must have gone into the gate before I touched it yesterday.
> Mhh ...., sometime last week. I hope I'm not responsible for this
> mess, but I have no idea why I would be.
>
>
> %martin
>


Ahh, now wehave it: At first all the servers fail to link due to this
missing symbol:

Undefined                       first referenced
 symbol                             in file
XdmcpWrap                           ../../os/os.O
XdmcpUnwrap                         ../../os/os.O


Afterwards the mapfile cannot be generated:

make: Warning: Target `all' not remade because of errors
Current working directory
/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/build_32/xorg-server-1.3.0.0
*** Error code 1
rm -f build_32/mapfile-Xorg-externs
printf '# Functions exported by Xorg server to loadable modules\n\n' >
build_32/mapfile-Xorg-externs
printf '{\n  global:\n' >> build_32/mapfile-Xorg-externs
/usr/ccs/bin/nm -g build_32/xorg-server-1.3.0.0/hw/xfree86/Xorg
/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/../../../proto-sun4-svr4/usr/X11/lib/X11/xserver/libXfont.so
| grep -v UNDEF | sed -n -e 's/^.*\|FUNC \|GLOB \|.*\|\([A-Za-z].*\)$/
   \1 = FUNCTION extern;/p' -e 's/^.*\|OBJT \|GLOB
\|.*\|\([A-Za-z].*\)$/    \1 = DATA extern;/p' >>
build_32/mapfile-Xorg-externs
/usr/ccs/bin/nm: build_32/xorg-server-1.3.0.0/hw/xfree86/Xorg: No such
file or directory
printf '};\n' >> build_32/mapfile-Xorg-externs
make: Warning: Target `build_gen' not remade because of errors
Current working directory
/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg
*** Error code 1

And consequently of course the drivers don't build.

Simple small cause, huge effect.

--
%martin

Reply via email to