all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Gesthuizen <tim.gesthuizen@yahoo.de>
To: Marius Bakke <mbakke@fastmail.com>, 32458@debbugs.gnu.org
Subject: bug#32458: Acknowledgement (SDL SEGFAULTs on foreign distro)
Date: Sun, 7 Oct 2018 18:22:18 +0200	[thread overview]
Message-ID: <c0f44a39-374a-4f11-2255-ab34697d3d98@yahoo.de> (raw)
In-Reply-To: <d9b6b71a-78e9-e74a-b392-b5b44d6e1a13@yahoo.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 642 bytes --]

Hi,
I tried to find some free time to investigate a little bit further in
what exactly triggers the crash to happen.
A few days ago I had the idea of getting a GL context through GLUT and
don't use SDL at all. So I quickly investigated whether this would also
crash.
So I fetched the cube example (cube.c) from the OpenGL example archive:

https://www.opengl.org/archives/resources/code/samples/glut_examples/examples/examples.html

and compiled it through guix. You can find the exact procedure by
inspecting the log attached. If I did not make an error this should
proof that the problem lies in OpenGL and not in SDL.

Tim.

[-- Attachment #1.1.2: log.txt --]
[-- Type: text/plain, Size: 1006 bytes --]

tibbe@tibbe-pc:~/src/glut-example$ guix environment --ad-hoc freeglut
tibbe@tibbe-pc:~/src/glut-example$ echo $GUIX_ENVIRONMENT
/gnu/store/gsfq0h6hpjz9ddvgn4g3gkl5r6gg3ink-profile
tibbe@tibbe-pc:~/src/glut-example$ ls $GUIX_ENVIRONMENT
etc  include  lib  manifest  share
tibbe@tibbe-pc:~/src/glut-example$ gcc cube.c -L $GUIX_ENVIRONMENT/lib -l glut -l GL -I $GUIX_ENVIRONMENT/include
/tmp/ccXMXGNS.o: In function `init':
cube.c:(.text+0x321): undefined reference to `gluPerspective'
cube.c:(.text+0x372): undefined reference to `gluLookAt'
collect2: error: ld returned 1 exit status
tibbe@tibbe-pc:~/src/glut-example$ gcc cube.c -L $GUIX_ENVIRONMENT/lib -l glut -l glu -l GL -I $GUIX_ENVIRONMENT/include
ld: cannot find -lglu
collect2: error: ld returned 1 exit status
tibbe@tibbe-pc:~/src/glut-example$ gcc cube.c -L $GUIX_ENVIRONMENT/lib -l glut -l GLU -l GL -I $GUIX_ENVIRONMENT/include
tibbe@tibbe-pc:~/src/glut-example$ ls
a.out  cube.c
tibbe@tibbe-pc:~/src/glut-example$ ./a.out 
Segmentation fault

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2018-10-07 16:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-16 17:25 bug#32458: SDL SEGFAULTs on foreign distro Tim Gesthuizen
     [not found] ` <handler.32458.B.153444037626013.ack@debbugs.gnu.org>
2018-08-20 16:12   ` bug#32458: Acknowledgement (SDL SEGFAULTs on foreign distro) Tim Gesthuizen
2018-08-20 20:35     ` Marius Bakke
2018-08-20 20:59     ` Marius Bakke
2018-08-22 19:18       ` Tim Gesthuizen
2018-10-07 16:22         ` Tim Gesthuizen [this message]
2018-10-07 20:06           ` Marius Bakke
2018-10-08 18:07             ` Tim Gesthuizen
2018-10-08 18:28               ` Marius Bakke
2018-10-10 15:35                 ` Tim Gesthuizen
2018-10-15 19:19                   ` Marius Bakke
2018-10-15 19:31                     ` Marius Bakke
2018-10-16 18:20                       ` Tim Gesthuizen
2018-10-17 15:13                         ` Marius Bakke
2018-10-22 17:23                           ` Tim Gesthuizen
2018-10-22 20:50                             ` Marius Bakke
2018-10-29 18:43                               ` Tim Gesthuizen
2018-11-14 19:49                                 ` Marius Bakke
     [not found] ` <87zhs0hbre.fsf@fastmail.com>
2019-01-18 20:14   ` Tim Gesthuizen
2019-01-23 17:32   ` Tim Gesthuizen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c0f44a39-374a-4f11-2255-ab34697d3d98@yahoo.de \
    --to=tim.gesthuizen@yahoo.de \
    --cc=32458@debbugs.gnu.org \
    --cc=mbakke@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.