[cairo-bugs] [Bug 43228] New: build (linking): many multiple definitions of symbols - cairo-gl only (GCC 4.6.2)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 24 10:37:31 PST 2011


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

             Bug #: 43228
           Summary: build (linking): many multiple definitions of symbols
                    - cairo-gl only (GCC 4.6.2)
    Classification: Unclassified
           Product: cairo
           Version: 1.10.3
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gl backend
        AssignedTo: cairo-bugs at cairographics.org
        ReportedBy: danielhousar at gmail.com
         QAContact: cairo-bugs at cairographics.org


Compilation went fine, but when it tried link *.o objects to libcairo.la file,
there apeared errors about multiple definitions of symbols in cairo-gl-*.o
files.

Cairo sources: 1.11.3 (GIT master 24.11.2011) - git.freedesktop.org

System:
GCC 4.6.2 (ArchLinux package repository)
glibc 2.14.1 (ArchLinux package repository)
Mesa: 7.12.0 GIT master (11. Nov. 2011)
Linux 3.2.0-rc2+ (nouveau GIT tree)
arch: x86 (32-bit) - 1 CPU core (not SMP)

I have not access to other Linux machines, so I can't try to reproduce this bug
in another environment.

Partial output of 'make':

make[4]: Leaving directory `/src/freedesktop.org/cairo'
  CCLD   libcairo.la
.libs/cairo-gl-composite.o: In function `_cairo_gl_composite_set_source':
/src/freedesktop.org/cairo/src/cairo-gl-composite.c:60: multiple definition of
`_cairo_gl_composite_set_source'
.libs/cairo-gl-composite.o:/src/freedesktop.org/cairo/src/cairo-gl-composite.c:60:
first defined here
...
...
...
.libs/cairo-gl-surface.o: In function
`INT_cairo_gl_surface_create_for_texture':
/src/freedesktop.org/cairo/src/cairo-gl-surface.c:586: multiple definition of
`cairo_gl_surface_create_for_texture'
.libs/cairo-gl-surface.o:/src/freedesktop.org/cairo/src/cairo-gl-surface.c:586:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [libcairo.la] Error 1

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


More information about the cairo-bugs mailing list