compile with -DUNIV_DEBUG fails

Bug #373659 reported by Aleksandr Kuzminsky
This bug report is a duplicate of:  Bug #328367: Some problems of UNIV_DEBUG of InnoDB. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona patches
New
Undecided
Unassigned

Bug Description

bash -c cd ../mysql-5.0.77 && CFLAGS=-DUNIV_DEBUG CXXFLAGS=-DUNIV_DEBUG make clean all
...
ccache gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./../../include -I../../include -DDBUG_OFF -DDBUG_OFF -DUNIV_DEBUG -DDEBUG_OFF -DUNIV_LINUX -MT os0file.o -MD -MP -MF .deps/os0file.Tpo -c -o os0file.o os0file.c
os0file.c: In function ‘_os_file_pread’:
os0file.c:1950: error: dereferencing pointer to incomplete type
os0file.c:1952: error: dereferencing pointer to incomplete type
os0file.c:1953: error: dereferencing pointer to incomplete type
os0file.c:1970: error: dereferencing pointer to incomplete type
os0file.c:1974: error: dereferencing pointer to incomplete type
os0file.c: In function ‘os_aio’:
os0file.c:3523: error: dereferencing pointer to incomplete type
os0file.c:3524: error: dereferencing pointer to incomplete type
make[5]: *** [os0file.o] Error 1
make[5]: Leaving directory `/mnt/data1/home/buildbot/percona-patches/b_5_0_77/mysql-5.0.77/innobase/os'
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[4]: Leaving directory `/mnt/data1/home/buildbot/percona-patches/b_5_0_77/mysql-5.0.77/innobase'
make[3]: Leaving directory `/mnt/data1/home/buildbot/percona-patches/b_5_0_77/mysql-5.0.77/innobase'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[2]: Leaving directory `/mnt/data1/home/buildbot/percona-patches/b_5_0_77/mysql-5.0.77'
make[1]: Leaving directory `/mnt/data1/home/buildbot/percona-patches/b_5_0_77/mysql-5.0.77'
program finished with exit code 2
elapsedTime=24.997750

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.