All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 100563] Compile fails with radeonsi / LLVM (git)
@ 2017-04-04 19:34 bugzilla-daemon
  2017-04-05 14:01 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-04-04 19:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1897 bytes --]

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

            Bug ID: 100563
           Summary: Compile fails with radeonsi / LLVM (git)
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: rankincj@googlemail.com
        QA Contact: dri-devel@lists.freedesktop.org

Trying to compile Mesa from git, but fails:

In file included from si_debug.c:30:0:
sid_tables.h:134:9: error: implicit declaration of function ‘S_414_BYTE_COUNT’
[-Werror=implicit-function-declaration]
  {1127, S_414_BYTE_COUNT(~0u)},
         ^~~~~~~~~~~~~~~~

Other unknown symbols include:
- S_414_DISABLE_WR_CONFIRM
- S_008F14_DATA_FORMAT
- S_008F14_NUM_FORMAT
- S_008F20_PITCH
- S_0098F8_PIPE_INTERLEAVE_SIZE
- S_0098F8_NUM_SHADER_ENGINES
- S_0098F8_NUM_GPUS
- S_00B02C_EXCP_EN_CIK
- S_00B12C_EXCP_EN_CIK
- S_00B22C_EXCP_EN_CIK
- S_00B854_WAVES_PER_SH_CIK
- S_028350_SE_XSEL
- S_028350_SE_YSEL
- S_028354_SE_PAIR_XSEL
- S_028354_SE_PAIR_YSEL
- S_0287E4_BASE_ADDR
- S_028A7C_RDREQ_POLICY_VI
- S_028A90_ADDRESS_HI
- S_028B6C_RDREQ_POLICY_VI

My configuration options are:
$ CFLAGS='-O2 -g -gdwarf-2' ./autogen.sh
--prefix=/home/chris/Programs/local-mesa
--libdir=/home/chris/Programs/local-mesa/lib64
--with-vdpau-libdir=/home/chris/Programs/local-mesa/lib64/vdpau
--with-gallium-drivers=radeonsi,swrast --with-egl-platforms=drm,x11
--with-llvm-prefix=/home/chris/Programs/local-llvm --enable-llvm-shared-libs
--with-dri-drivers= -enable-texture-float --enable-64-bit --enable-nine

And my LLVM installation is fresh from Git.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 100563] Compile fails with radeonsi / LLVM (git)
  2017-04-04 19:34 [Bug 100563] Compile fails with radeonsi / LLVM (git) bugzilla-daemon
@ 2017-04-05 14:01 ` bugzilla-daemon
  2017-04-05 14:02 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-04-05 14:01 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]

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

--- Comment #1 from Nicolai Hähnle <nhaehnle@gmail.com> ---
This has nothing to do with LLVM. It looks like your sid_tables.h is stale --
please remove it (it's auto-generated) and try again.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1096 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 100563] Compile fails with radeonsi / LLVM (git)
  2017-04-04 19:34 [Bug 100563] Compile fails with radeonsi / LLVM (git) bugzilla-daemon
  2017-04-05 14:01 ` bugzilla-daemon
@ 2017-04-05 14:02 ` bugzilla-daemon
  2017-04-05 18:43 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-04-05 14:02 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 373 bytes --]

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

--- Comment #2 from Nicolai Hähnle <nhaehnle@gmail.com> ---
To add a bit more explanation: sid_tables.h is usually updated automatically;
but it was moved some time ago, and it's possible that you have an old copy in
the old location.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1140 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 100563] Compile fails with radeonsi / LLVM (git)
  2017-04-04 19:34 [Bug 100563] Compile fails with radeonsi / LLVM (git) bugzilla-daemon
  2017-04-05 14:01 ` bugzilla-daemon
  2017-04-05 14:02 ` bugzilla-daemon
@ 2017-04-05 18:43 ` bugzilla-daemon
  2017-04-05 19:45 ` bugzilla-daemon
  2017-04-05 20:40 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-04-05 18:43 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 555 bytes --]

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

--- Comment #3 from Chris Rankin <rankincj@googlemail.com> ---
(In reply to Nicolai Hähnle from comment #2)
> To add a bit more explanation: sid_tables.h is usually updated
> automatically; but it was moved some time ago, and it's possible that you
> have an old copy in the old location.

OK, thanks. I'll give that a try, although I run "make distclean" before each
build precisely to avoid this kind of error.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1411 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 100563] Compile fails with radeonsi / LLVM (git)
  2017-04-04 19:34 [Bug 100563] Compile fails with radeonsi / LLVM (git) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-04-05 18:43 ` bugzilla-daemon
@ 2017-04-05 19:45 ` bugzilla-daemon
  2017-04-05 20:40 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-04-05 19:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 889 bytes --]

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

--- Comment #4 from Jan Vesely <jan.vesely@rutgers.edu> ---
(In reply to Chris Rankin from comment #3)
> (In reply to Nicolai Hähnle from comment #2)
> > To add a bit more explanation: sid_tables.h is usually updated
> > automatically; but it was moved some time ago, and it's possible that you
> > have an old copy in the old location.
> 
> OK, thanks. I'll give that a try, although I run "make distclean" before
> each build precisely to avoid this kind of error.

I don't think make distclean would help here. the old header is unknown to the
build system, you'd need to run distclean before pulling in the changeset.

git status should show it as untracked file (git clean -f should work as well,
but that removes all untracked files)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1803 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 100563] Compile fails with radeonsi / LLVM (git)
  2017-04-04 19:34 [Bug 100563] Compile fails with radeonsi / LLVM (git) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-04-05 19:45 ` bugzilla-daemon
@ 2017-04-05 20:40 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-04-05 20:40 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 549 bytes --]

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

Chris Rankin <rankincj@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED

--- Comment #5 from Chris Rankin <rankincj@googlemail.com> ---
Removing the old file fixes the build. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2036 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-05 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04 19:34 [Bug 100563] Compile fails with radeonsi / LLVM (git) bugzilla-daemon
2017-04-05 14:01 ` bugzilla-daemon
2017-04-05 14:02 ` bugzilla-daemon
2017-04-05 18:43 ` bugzilla-daemon
2017-04-05 19:45 ` bugzilla-daemon
2017-04-05 20:40 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.