[ANNOUNCE] xorg-server 1.19.99.904

Thomas Klausner wiz at netbsd.org
Fri Apr 20 06:18:28 UTC 2018


On Wed, Apr 18, 2018 at 10:13:36AM -0500, Jeff Smith wrote:
> Here is something that may help in tracking down the cause of the
> disappearing symbol.
> 1: apply the following changes to sdksyms.sh
> 2: re-run the build
>   (this will output what is being fed into awk from the pre-processor
> into sdksyms.i)
> 3: search for  drm_format_for_depth  in sdksyms.i
>   (if not found, search for dri3_send_open_reply instead)
> 4: post the relevant section of sdksyms.i
> 
> -${CPP:-cpp} "$@" sdksyms.c | ${AWK:-awk} -v topdir=$topdir '
> +${CPP:-cpp} "$@" sdksyms.c | tee sdksyms.i | ${AWK:-awk} -v topdir=$topdir '

Here's the requested data:

typedef struct dri3_screen_info {
    
# 88 "../../dri3/dri3.h" 3 4
   __uint32_t 
# 88 "../../dri3/dri3.h"
                               version;

    dri3_open_proc open;
    dri3_pixmap_from_fd_proc pixmap_from_fd;
    dri3_fd_from_pixmap_proc fd_from_pixmap;


    dri3_open_client_proc open_client;


    dri3_pixmap_from_fds_proc pixmap_from_fds;
    dri3_fds_from_pixmap_proc fds_from_pixmap;
    dri3_get_formats_proc get_formats;
    dri3_get_modifiers_proc get_modifiers;
    dri3_get_drawable_modifiers_proc get_drawable_modifiers;

} dri3_screen_info_rec, *dri3_screen_info_ptr;

extern __attribute__((visibility("default"))) Bool
dri3_screen_init(ScreenPtr screen, const dri3_screen_info_rec *info);

extern __attribute__((visibility("default"))) int
dri3_send_open_reply(ClientPtr client, int fd);

extern __attribute__((visibility("default")))
# 112 "../../dri3/dri3.h" 3 4
                __uint32_t

# 113 "../../dri3/dri3.h"
drm_format_for_depth(
# 113 "../../dri3/dri3.h" 3 4
                    __uint32_t
# 113 "../../dri3/dri3.h"
                             depth,
# 113 "../../dri3/dri3.h" 3 4
                                    __uint32_t
# 113 "../../dri3/dri3.h"
                                             bpp);
# 106 "sdksyms.c" 2
# 120 "sdksyms.c"


I don't see the problem, do you?

The whole .i file is available at

http://danbala.tuwien.ac.at/~wiz/tmp/xdksyms.output.gz

 Thomas


More information about the xorg-devel mailing list