Skip to contentSkip to conversation

build fail with cunit - OK on amd64 - KO for i386

Bug 91666 [email protected] 1 participant 5 messages Aug 17, 2015 – Nov 1, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=91666

Bug ID: 91666
Summary: build fail with cunit - OK on amd64 - KO for i386
Product: DRI
Version: DRI git
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: libdrm
Assignee: [email protected]
Reporter: [email protected]

amd64 builds OK:
Full build log:
https://launchpadlibrarian.net/214693325/buildlog_ubuntu-vivid-amd64.libdrm_2.4.63%2Bgit1508171138.f05a74~gd~v_BUILDING.txt.gz

Same source package breaks with i386:
In file included from ../../../amdgpu/amdgpu_internal.h:35:0,

                 from ../../../tests/amdgpu/cs_tests.c:32:
../../../libdrm_macros.h: In function 'drm_munmap':
../../../libdrm_macros.h:79:4: error: size of unnamed array is negative
    STATIC_ASSERT(LARGE_OFF_T % 2147483629 == 721 &&
    ^

Full i386 build log:
https://launchpadlibrarian.net/214693090/buildlog_ubuntu-vivid-i386.libdrm_2.4.63%2Bgit1508171138.f05a74~gd~v_BUILDING.txt.gz

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=91666

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michel Dänzer <[email protected]> --- commit 25784d3af2f37d86fb25ee6cfa4afa6f3448af9b

Author: Michel Dänzer <[email protected]>
Date:   Mon Aug 17 18:41:11 2015 +0900

tests/amdgpu: Include config.h first

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91666

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from [email protected] --- Same error while 32-bit build with git master commit 33dcc29f7ccc554de1fc42f4b95adf056822eabb:

[ 62s] libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-DAMDGPU_ASIC_ID_TABLE=\"/usr/share/libdrm/amdgpu.ids\" -DAMDGPU_ASIC_ID_TABLE_NUM_ENTRIES=154 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wshadow -Wno-missing-field-initializers -I.. -I../include/drm -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -c amdgpu_bo.c -fPIC -DPIC -o .libs/amdgpu_bo.o

[   62s] In file included from amdgpu_internal.h:35:0,
[   62s]                  from amdgpu_vm.c:28:
[   62s] ../libdrm_macros.h: In function 'drm_munmap':
[   62s] ../libdrm_macros.h:79:4: error: size of unnamed array is negative
[   62s]     STATIC_ASSERT(LARGE_OFF_T % 2147483629 == 721 &&
[   62s]     ^
[   62s] Makefile:708: recipe for target 'amdgpu_vm.lo' failed
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91666

--- Comment #3 from Michel Dänzer <[email protected]> --- (In reply to network723 from comment #2)

Quoted 2 lines

Same error while 32-bit build with git master commit 33dcc29f7ccc554de1fc42f4b95adf056822eabb:

It's not exactly the same, so it would have been better to file your own report than to reopen this one.

Please attach your corresponding config.h and config.log files.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=91666

Fabio Pedretti <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #4 from Fabio Pedretti <[email protected]> --- Fixed in 2.4.87.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel