All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 47875] New: Making r600_dri.so fails when building 32bit on 64bit
@ 2012-03-26  0:35 bugzilla-daemon
  2012-03-26  5:32 ` [Bug 47875] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-03-26  0:35 UTC (permalink / raw)
  To: dri-devel

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

             Bug #: 47875
           Summary: Making r600_dri.so fails when building 32bit on 64bit
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: alexandre.f.demers@gmail.com


under ./src/gallium/targets/dri-r600, making lib fails:

/bin/sh ../../../../bin/mklib -o r600_dri.so.tmp -noprefix -linker 'g++'
-ldflags '' \
    target.o ../../../../src/mesa/drivers/dri/common/utils.o
../../../../src/mesa/drivers/dri/common/dri_util.o
../../../../src/mesa/drivers/dri/common/xmlconfig.o  
../../../../src/gallium/drivers/r600/libr600.a
../../../../src/gallium/state_trackers/dri/drm/libdridrm.a
../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a
../../../../src/gallium/drivers/trace/libtrace.a
../../../../src/gallium/drivers/rbug/librbug.a
../../../../src/gallium/drivers/noop/libnoop.a \
                -Wl,--start-group ../../../../src/mesa/libmesagallium.a
../../../../src/gallium/auxiliary/libgallium.a -Wl,--end-group \
                  -L../../../../i386-linux-gnu
-Wl,-R/usr/lib/i386-linux-gnu/dri -ldricore -lglsl  /usr/lib/i386-linux-gnu/
-lexpat -lm -lpthread -ldl -ldrm_radeon

mklib: Making Linux shared library:  r600_dri.so.tmp
/usr/lib/i386-linux-gnu/: file not recognized: Is a directory
collect2: ld returned 1 exit status
g++ -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -m32 -g -O2
 -fPIC -m32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
-D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN
-DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS
-DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XEXTPROTO_71 -fvisibility=hidden -o
r600_dri.so.test ../../../../src/mesa/drivers/dri/common/dri_test.o
r600_dri.so.tmp  -L../../../../i386-linux-gnu -Wl,-R/usr/lib/i386-linux-gnu/dri
-ldricore -lglsl  /usr/lib/i386-linux-gnu/ -lexpat -lm -lpthread -ldl
-ldrm_radeon ;
g++: error: r600_dri.so.tmp: No such file or directory
make[3]: *** [r600_dri.so] Error 1

However, adding -L before /usr/lib/i386-linux-gnu/. I'm compiling with
"--enable-32-bit --libdir=/usr/lib/i386-linux-gnu
--includedir=/usr/include/i386-linux-gnu" on a 64bit OS and I manually set
"export LIBDRM_LIBS=/usr/lib/i386-linux-gnu/".

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 47875] Making r600_dri.so fails when building 32bit on 64bit
  2012-03-26  0:35 [Bug 47875] New: Making r600_dri.so fails when building 32bit on 64bit bugzilla-daemon
@ 2012-03-26  5:32 ` bugzilla-daemon
  2012-03-26  5:33 ` [Bug 47875] Making r600_dri.so fails when building 32bit on 64bit when setting LIBDRM_LIBS (maybe other env vars also) manually: missing -L bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-03-26  5:32 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Alexandre Demers <alexandre.f.demers@gmail.com> 2012-03-25 22:32:19 PDT ---
After testing, I can confirm the problem comes from  "export
LIBDRM_LIBS=/usr/lib/i386-linux-gnu/". When it is not set, the build goes all
the way to the end.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 47875] Making r600_dri.so fails when building 32bit on 64bit when setting LIBDRM_LIBS (maybe other env vars also) manually: missing -L
  2012-03-26  0:35 [Bug 47875] New: Making r600_dri.so fails when building 32bit on 64bit bugzilla-daemon
  2012-03-26  5:32 ` [Bug 47875] " bugzilla-daemon
@ 2012-03-26  5:33 ` bugzilla-daemon
  2012-03-26  7:22 ` bugzilla-daemon
  2012-03-26 12:29 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-03-26  5:33 UTC (permalink / raw)
  To: dri-devel

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

Alexandre Demers <alexandre.f.demers@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Making r600_dri.so fails    |Making r600_dri.so fails
                   |when building 32bit on      |when building 32bit on
                   |64bit                       |64bit when setting
                   |                            |LIBDRM_LIBS (maybe other
                   |                            |env vars also) manually:
                   |                            |missing -L

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 47875] Making r600_dri.so fails when building 32bit on 64bit when setting LIBDRM_LIBS (maybe other env vars also) manually: missing -L
  2012-03-26  0:35 [Bug 47875] New: Making r600_dri.so fails when building 32bit on 64bit bugzilla-daemon
  2012-03-26  5:32 ` [Bug 47875] " bugzilla-daemon
  2012-03-26  5:33 ` [Bug 47875] Making r600_dri.so fails when building 32bit on 64bit when setting LIBDRM_LIBS (maybe other env vars also) manually: missing -L bugzilla-daemon
@ 2012-03-26  7:22 ` bugzilla-daemon
  2012-03-26 12:29 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-03-26  7:22 UTC (permalink / raw)
  To: dri-devel

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

Michel Dänzer <michel@daenzer.net> changed:

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

--- Comment #2 from Michel Dänzer <michel@daenzer.net> 2012-03-26 00:22:06 PDT ---
(In reply to comment #1)
> After testing, I can confirm the problem comes from  "export
> LIBDRM_LIBS=/usr/lib/i386-linux-gnu/".

LIBDRM_LIBS must contain linker flags, not just a path.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 47875] Making r600_dri.so fails when building 32bit on 64bit when setting LIBDRM_LIBS (maybe other env vars also) manually: missing -L
  2012-03-26  0:35 [Bug 47875] New: Making r600_dri.so fails when building 32bit on 64bit bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-03-26  7:22 ` bugzilla-daemon
@ 2012-03-26 12:29 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-03-26 12:29 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Alexandre Demers <alexandre.f.demers@gmail.com> 2012-03-26 05:29:57 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > After testing, I can confirm the problem comes from  "export
> > LIBDRM_LIBS=/usr/lib/i386-linux-gnu/".
> 
> LIBDRM_LIBS must contain linker flags, not just a path.

It seems to do the trick, thank you.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2012-03-26 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26  0:35 [Bug 47875] New: Making r600_dri.so fails when building 32bit on 64bit bugzilla-daemon
2012-03-26  5:32 ` [Bug 47875] " bugzilla-daemon
2012-03-26  5:33 ` [Bug 47875] Making r600_dri.so fails when building 32bit on 64bit when setting LIBDRM_LIBS (maybe other env vars also) manually: missing -L bugzilla-daemon
2012-03-26  7:22 ` bugzilla-daemon
2012-03-26 12:29 ` 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.