All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 94231] Problems compiling libdrm since glibc 2.23
@ 2016-02-21 12:31 bugzilla-daemon
  2016-02-22  8:53 ` bugzilla-daemon
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-21 12:31 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 94231
           Summary: Problems compiling libdrm since glibc 2.23
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libdrm
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: mike@fireburn.co.uk

Created attachment 121865
  --> https://bugs.freedesktop.org/attachment.cgi?id=121865&action=edit
Patch to include sys/sysmacros.h in libdrm

Get errors about mkdev, major and minor not being defined when compiling libdrm
after upgrading glibc to 2.23

Including sys/sysmacros.h fixes it for me

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

[-- Attachment #1.2: Type: text/html, Size: 2210 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
@ 2016-02-22  8:53 ` bugzilla-daemon
  2016-02-22 10:26 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22  8:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Emil Velikov <emil.l.velikov@gmail.com> ---
Hi Mike,

man makedev/major/minor does not mention anything about this header, although
it does mention (the missing) #define _BSD_SOURCE. Does that get thinks working
again?

Can you please send a patch (git send-email ideally) to the list. Also please
quote the build error and any related information on the topic that you can
find.

If you can do the same for mesa that'll be greatly appreciated.

Thank you

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

[-- Attachment #1.2: Type: text/html, Size: 1359 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
  2016-02-22  8:53 ` bugzilla-daemon
@ 2016-02-22 10:26 ` bugzilla-daemon
  2016-02-22 11:03 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 10:26 UTC (permalink / raw)
  To: dri-devel


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

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

Mike Lothian <mike@fireburn.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@fireburn.co.uk

--- Comment #2 from Mike Lothian <mike@fireburn.co.uk> ---
The issue is sys/sysmacros.h has been dropped from sys/types.h in glibc 2.23

Do you know if this can be safely added in for everything or will it need some
ifdeffery?

If it's straight forward I'll get the patches out later today (there's one for
xorg-server too)

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

[-- Attachment #1.2: Type: text/html, Size: 1975 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
  2016-02-22  8:53 ` bugzilla-daemon
  2016-02-22 10:26 ` bugzilla-daemon
@ 2016-02-22 11:03 ` bugzilla-daemon
  2016-02-22 11:39 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 11:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Emil Velikov <emil.l.velikov@gmail.com> ---
Are you sure about the removal of "include sys/sysmacros.h" ? Afaics
include/sys/types.h includes the posix/sys/types.h with the latter still having
the include.

Bth I'm not sure if things can explode with the unconditional include, imho
it's better to keep things as documented.

I.e. if the _BSD_SOURCE define does not help, then either glibc needs to be
fixed or the manuals should be updated (the glibc fold might have some
suggestions) ?

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

[-- Attachment #1.2: Type: text/html, Size: 1401 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-02-22 11:03 ` bugzilla-daemon
@ 2016-02-22 11:39 ` bugzilla-daemon
  2016-02-22 12:28 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 11:39 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Daniel Stone <daniel@fooishbar.org> ---
(In reply to Emil Velikov from comment #3)
> I.e. if the _BSD_SOURCE define does not help, then either glibc needs to be
> fixed or the manuals should be updated (the glibc fold might have some
> suggestions) ?

_BSD_SOURCE gets defined if you call AC_USE_SYSTEM_EXTENSIONS from
configure.ac, which gives you the maximal set of defines. It's not safe to just
define the _*_SOURCE macros, since whilst glibc etc treat them as additive, BSD
libcs treat them as restrictive (e.g. defining _BSD_SOURCE gives you a pure BSD
environment without some of the features enabled by, e.g., _XOPEN_SOURCE).

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

[-- Attachment #1.2: Type: text/html, Size: 1609 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-02-22 11:39 ` bugzilla-daemon
@ 2016-02-22 12:28 ` bugzilla-daemon
  2016-02-22 12:34 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 12:28 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Emil Velikov <emil.l.velikov@gmail.com> ---
(In reply to Daniel Stone from comment #4)
> _BSD_SOURCE gets defined if you call AC_USE_SYSTEM_EXTENSIONS

Are you sure about this ? Looking at my autoconf 2.69
(/usr/share/autoconf/autoconf/specific.m4) and it sets the following

__EXTENSIONS__
_ALL_SOURCE
_GNU_SOURCE
_POSIX_PTHREAD_SEMANTICS
_TANDEM_SOURCE

Had no idea about the different interpretation of the defines between GNU vs
BSD libc(s). Thanks for that.

We can at check if the explicit define fixes things on Linux and ping the BSD
people for more robust solution ?

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

[-- Attachment #1.2: Type: text/html, Size: 1549 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-02-22 12:28 ` bugzilla-daemon
@ 2016-02-22 12:34 ` bugzilla-daemon
  2016-02-22 14:03 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 12:34 UTC (permalink / raw)
  To: dri-devel


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

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

Mike Lothian <mike@fireburn.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://bugs.gentoo.org/sho
                   |                            |w_bug.cgi?id=575232

--- Comment #6 from Mike Lothian <mike@fireburn.co.uk> ---
Here's the Gentoo bug for this issue - there's a few packages affected

https://bugs.gentoo.org/show_bug.cgi?id=575232

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

[-- Attachment #1.2: Type: text/html, Size: 1914 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-02-22 12:34 ` bugzilla-daemon
@ 2016-02-22 14:03 ` bugzilla-daemon
  2016-02-22 14:09 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 14:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Emil Velikov <emil.l.velikov@gmail.com> ---
Hmm... Gentoo devs decided to patch glibc in order to remove the include.

At the same time they lean that applications (25+ based on the incomplete list)
should be fixed to use sys/sysmacros.h. There's no justification and the manual
does not support this :-(

To make it even more strange the patch isn't alongside the glibc-2.23.ebuild in
the repo. Am I looking at the wrong repo ? Can anyone share a link with
discussion behind this decision ?

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

[-- Attachment #1.2: Type: text/html, Size: 1395 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-02-22 14:03 ` bugzilla-daemon
@ 2016-02-22 14:09 ` bugzilla-daemon
  2016-02-22 14:10 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 14:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Mike Lothian <mike@fireburn.co.uk> ---
The patches are bundled up into a tar file: glibc-2.23-patches-1.tar.bz2 which
is on the gentoo mirrors

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

[-- Attachment #1.2: Type: text/html, Size: 1041 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-02-22 14:09 ` bugzilla-daemon
@ 2016-02-22 14:10 ` bugzilla-daemon
  2016-02-22 14:16 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 14:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Mike Lothian <mike@fireburn.co.uk> ---
Created attachment 121891
  --> https://bugs.freedesktop.org/attachment.cgi?id=121891&action=edit
Glibc patches

Here's the patch tarball for your convenience

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

[-- Attachment #1.2: Type: text/html, Size: 1215 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2016-02-22 14:10 ` bugzilla-daemon
@ 2016-02-22 14:16 ` bugzilla-daemon
  2016-02-22 14:47 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 14:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Mike Lothian <mike@fireburn.co.uk> ---
And the relevant details:

Subject: [PATCH] sys/types.h: drop sys/sysmacros.h include

We want to break apart this include path due to namespace pollution.
https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html

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

[-- Attachment #1.2: Type: text/html, Size: 1227 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2016-02-22 14:16 ` bugzilla-daemon
@ 2016-02-22 14:47 ` bugzilla-daemon
  2016-02-22 17:34 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 14:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Emil Velikov <emil.l.velikov@gmail.com> ---
Thanks for the links Mike.

Not sure about others, but I'm not a happy bunny.

So there's a issue/bug in stdlib.h (or was it g++), that leads to the inclusion
of sys/types.h. To 'fix' this lets break the documented behaviour (for those of
us that read the manpages). Hmm ... wait what ?

Sorry but this sounds backwards. If we cannot squash the issue, it should be
documented properly with list of workarounds (as pointed in the redhat
bugzilla).
Yes it sucks, big time. Yet we shouldn't break one thing, in order to
workaround another issue, should we ?

If this workaround is needed/applicable with other libc providers like musl (on
Linux at least), then there should be a documentation update alongside the
deprecation. Followed by a lengthy period _before_ removing things ?

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

[-- Attachment #1.2: Type: text/html, Size: 1729 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (10 preceding siblings ...)
  2016-02-22 14:47 ` bugzilla-daemon
@ 2016-02-22 17:34 ` bugzilla-daemon
  2016-02-22 23:39 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 17:34 UTC (permalink / raw)
  To: dri-devel


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

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

Emil Velikov <emil.l.velikov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=94232

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

[-- Attachment #1.2: Type: text/html, Size: 1099 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (11 preceding siblings ...)
  2016-02-22 17:34 ` bugzilla-daemon
@ 2016-02-22 23:39 ` bugzilla-daemon
  2016-02-23 14:03 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-22 23:39 UTC (permalink / raw)
  To: dri-devel


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

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

Mike Frysinger <vapier@gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier@gentoo.org

--- Comment #12 from Mike Frysinger <vapier@gentoo.org> ---
it's really not that difficult to test for & include the sys/sysmacros.h header
directly when you're using the non-standard functions they provide.  this is
the API under BSD systems, and where Linux C libs have already moved/are moving
towards.  *this* is the deprecation period.

upstream glibc will take a more measured approach including updating their
docs, but realistically, no one is going to read those until they see breakage.
 the Gentoo changes are only in an opt-in dev-only build, so it too isn't
hitting people randomly.

as the upstream thread shows, if you used the (long time documented)
AC_HEADER_MAJOR macro in autoconf, then this wouldn't have impacted drm.

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

[-- Attachment #1.2: Type: text/html, Size: 2393 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (12 preceding siblings ...)
  2016-02-22 23:39 ` bugzilla-daemon
@ 2016-02-23 14:03 ` bugzilla-daemon
  2016-02-23 14:24 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-23 14:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Emil Velikov <emil.l.velikov@gmail.com> ---
Your suggestion is not unreasonable my any means. Yes, it's not hard to test
(and include) the header, but it's unnecessary according to the documentation.

I'll repeat my request - please update documentation, provide warnings and
deprecation _period_. Do not just remove the include and then point fingers at
projects because "they're not doing X" when there is no official information
that say they should :-)

TL DR; as soon as the manual is updated I'll be more than happy to get this in.

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

[-- Attachment #1.2: Type: text/html, Size: 1453 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (13 preceding siblings ...)
  2016-02-23 14:03 ` bugzilla-daemon
@ 2016-02-23 14:24 ` bugzilla-daemon
  2016-02-23 14:40 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-23 14:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Mike Lothian <mike@fireburn.co.uk> ---
I'll get the patches created for libdrm, mesa & xorg-server, Mike F please can
you provide the location of where the updated docs are and I'll include it in
the commit message

Emil is there anything else you'd like? I'm going to mention the I provided
above too

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

[-- Attachment #1.2: Type: text/html, Size: 1206 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (14 preceding siblings ...)
  2016-02-23 14:24 ` bugzilla-daemon
@ 2016-02-23 14:40 ` bugzilla-daemon
  2016-02-23 17:26 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-23 14:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Emil Velikov <emil.l.velikov@gmail.com> ---
Mike L adding a reference to the updated docs or a mention "since man-pages
version X" plus a bugzilla link (if applicable) would be amazing. Thanks !

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

[-- Attachment #1.2: Type: text/html, Size: 1110 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (15 preceding siblings ...)
  2016-02-23 14:40 ` bugzilla-daemon
@ 2016-02-23 17:26 ` bugzilla-daemon
  2016-02-23 20:24 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-23 17:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from Mike Frysinger <vapier@gentoo.org> ---
(In reply to Emil Velikov from comment #13)

that is happening in upstream glibc.  i'm not going to bother in Gentoo.

no one is "pointing fingers".  we detected an error in libdrm in Gentoo, hence
you guys got a patch.  i don't know why you're upset about this.

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

[-- Attachment #1.2: Type: text/html, Size: 1252 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (16 preceding siblings ...)
  2016-02-23 17:26 ` bugzilla-daemon
@ 2016-02-23 20:24 ` bugzilla-daemon
  2016-04-21  5:10 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-02-23 20:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from Emil Velikov <emil.l.velikov@gmail.com> ---
Well I never meant that Gentoo people should update anything bth. As the
deprecation is a joint effort (hopefully musl and others are involved) someone 
from the team involved should ping/update the man-pages.

As is, it's a case of the cart going before the horse - fix the code first,
then document the new requirement :-\

The "pointing fingers" quote is metaphorical, no offence meant towards anyone.

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

[-- Attachment #1.2: Type: text/html, Size: 1364 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (17 preceding siblings ...)
  2016-02-23 20:24 ` bugzilla-daemon
@ 2016-04-21  5:10 ` bugzilla-daemon
  2016-04-21 12:26 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-04-21  5:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from Matt Turner <mattst88@gmail.com> ---
I guess you can think of this as the deprecation period.


Documentation has been updated:

https://github.com/mkerrisk/man-pages/commit/3350a86413d770198e11fe8df9a3cd5710240dc3

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

[-- Attachment #1.2: Type: text/html, Size: 1213 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (18 preceding siblings ...)
  2016-04-21  5:10 ` bugzilla-daemon
@ 2016-04-21 12:26 ` bugzilla-daemon
  2016-04-28 19:43 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-04-21 12:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Emil Velikov <emil.l.velikov@gmail.com> ---
That was fast, only a few hours ago the commit landed.

No objections about having this in, although let's use AC_CHECK_HEADERS.

I'm wondering if we shouldn't give it a day or two before landing though.
Obviously waiting for a man-pages release would be a serious overkill (afaict
it will be within ~4 months).

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

[-- Attachment #1.2: Type: text/html, Size: 1261 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (19 preceding siblings ...)
  2016-04-21 12:26 ` bugzilla-daemon
@ 2016-04-28 19:43 ` bugzilla-daemon
  2016-04-30 19:59 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-04-28 19:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from Matt Turner <mattst88@gmail.com> ---
(In reply to Emil Velikov from comment #19)
> That was fast, only a few hours ago the commit landed.
> 
> No objections about having this in, although let's use AC_CHECK_HEADERS.
> 
> I'm wondering if we shouldn't give it a day or two before landing though.
> Obviously waiting for a man-pages release would be a serious overkill
> (afaict it will be within ~4 months).

Do you want to commit it... or do you want me to send it to the list?

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

[-- Attachment #1.2: Type: text/html, Size: 1465 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (20 preceding siblings ...)
  2016-04-28 19:43 ` bugzilla-daemon
@ 2016-04-30 19:59 ` bugzilla-daemon
  2016-06-21 18:12 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-04-30 19:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #21 from Emil Velikov <emil.l.velikov@gmail.com> ---
Should have mentioned it earlier - I thought the more portable thing was to use
AC_HEADER_MAJOR. Can we do that one as opposed to unconditionally including the
header ?

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

[-- Attachment #1.2: Type: text/html, Size: 1118 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (21 preceding siblings ...)
  2016-04-30 19:59 ` bugzilla-daemon
@ 2016-06-21 18:12 ` bugzilla-daemon
  2016-06-21 18:13 ` bugzilla-daemon
  2016-07-06 16:51 ` bugzilla-daemon
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-06-21 18:12 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #22 from Mike Frysinger <vapier@gentoo.org> ---
Created attachment 124642
  --> https://bugs.freedesktop.org/attachment.cgi?id=124642&action=edit
using AC_CHECK_HEADERS()

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

[-- Attachment #1.2: Type: text/html, Size: 1312 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (22 preceding siblings ...)
  2016-06-21 18:12 ` bugzilla-daemon
@ 2016-06-21 18:13 ` bugzilla-daemon
  2016-07-06 16:51 ` bugzilla-daemon
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-06-21 18:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #23 from Mike Frysinger <vapier@gentoo.org> ---
Created attachment 124643
  --> https://bugs.freedesktop.org/attachment.cgi?id=124643&action=edit
using AC_CHECK_HEADERS

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

[-- Attachment #1.2: Type: text/html, Size: 1306 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] 26+ messages in thread

* [Bug 94231] Problems compiling libdrm since glibc 2.23
  2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
                   ` (23 preceding siblings ...)
  2016-06-21 18:13 ` bugzilla-daemon
@ 2016-07-06 16:51 ` bugzilla-daemon
  24 siblings, 0 replies; 26+ messages in thread
From: bugzilla-daemon @ 2016-07-06 16:51 UTC (permalink / raw)
  To: dri-devel


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

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

Emil Velikov <emil.l.velikov@gmail.com> changed:

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

--- Comment #24 from Emil Velikov <emil.l.velikov@gmail.com> ---
Thanks for updating the man pages as well as the patch(es) Mike. Hope you
and/or others will get to resolving libstdc++ + _GNU_SOURCE issue that inspired
this.

I've pushed the AC_HEADER_MAJOR patch to master.

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

[-- Attachment #1.2: Type: text/html, Size: 2202 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] 26+ messages in thread

end of thread, other threads:[~2016-07-06 16:51 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-21 12:31 [Bug 94231] Problems compiling libdrm since glibc 2.23 bugzilla-daemon
2016-02-22  8:53 ` bugzilla-daemon
2016-02-22 10:26 ` bugzilla-daemon
2016-02-22 11:03 ` bugzilla-daemon
2016-02-22 11:39 ` bugzilla-daemon
2016-02-22 12:28 ` bugzilla-daemon
2016-02-22 12:34 ` bugzilla-daemon
2016-02-22 14:03 ` bugzilla-daemon
2016-02-22 14:09 ` bugzilla-daemon
2016-02-22 14:10 ` bugzilla-daemon
2016-02-22 14:16 ` bugzilla-daemon
2016-02-22 14:47 ` bugzilla-daemon
2016-02-22 17:34 ` bugzilla-daemon
2016-02-22 23:39 ` bugzilla-daemon
2016-02-23 14:03 ` bugzilla-daemon
2016-02-23 14:24 ` bugzilla-daemon
2016-02-23 14:40 ` bugzilla-daemon
2016-02-23 17:26 ` bugzilla-daemon
2016-02-23 20:24 ` bugzilla-daemon
2016-04-21  5:10 ` bugzilla-daemon
2016-04-21 12:26 ` bugzilla-daemon
2016-04-28 19:43 ` bugzilla-daemon
2016-04-30 19:59 ` bugzilla-daemon
2016-06-21 18:12 ` bugzilla-daemon
2016-06-21 18:13 ` bugzilla-daemon
2016-07-06 16:51 ` 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.