Lo,
Just a (fairly) quick note:
I’m compiling sdl 1.2 on a Pentium 3 linux box, using gcc 2.95.3 and nasm
0.98. After doing a plain configure, my linker dumps core when linking the
nasm generated objects.
When I’m specifying --enable-nasm=no, compilation and linking: no problemo.
Anyone seeing this problems?
Bye.
gcc -shared SDL.lo SDL_error.lo SDL_fatal.lo SDL_getenv.lo
-Wl,–whole-archive main/.libs/libarch.al audio/.libs/libaudio.al
video/.libs/libvideo.al events/.libs/libevents.al
joystick/.libs/libjoystick.al cdrom/.libs/libcdrom.al
thread/.libs/libthread.al timer/.libs/libtimer.al endian/.libs/libendian.al
file/.libs/libfile.al hermes/.libs/libhermes.al -Wl,–no-whole-archive -lm
-L/opt/kde2/lib -ldl -lartsc -L/usr/lib -lesd -laudiofile -lm
-L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -ldl -lc
-Wl,-soname -Wl,libSDL-1.2.so.0 -o .libs/libSDL-1.2.so.0.0.1
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [libSDL.la] Error 1–
the trees the birds the air the grass the water the flies the trees
Hi,
same happens to me on a K6 using the same environment and binutils 2.11.
On some days compilation worked out, but I don’t know what I had changed
then. using the --enable-nasm=no switch also works for me.
cu
StefanOn Sat, 7 Jul 2001, Alfons Hoogervorst wrote:
Lo,
Just a (fairly) quick note:
I’m compiling sdl 1.2 on a Pentium 3 linux box, using gcc 2.95.3 and nasm
0.98. After doing a plain configure, my linker dumps core when linking the
nasm generated objects.
When I’m specifying --enable-nasm=no, compilation and linking: no problemo.
Anyone seeing this problems?
Bye.
gcc -shared SDL.lo SDL_error.lo SDL_fatal.lo SDL_getenv.lo
-Wl,–whole-archive main/.libs/libarch.al audio/.libs/libaudio.al
video/.libs/libvideo.al events/.libs/libevents.al
joystick/.libs/libjoystick.al cdrom/.libs/libcdrom.al
thread/.libs/libthread.al timer/.libs/libtimer.al endian/.libs/libendian.al
file/.libs/libfile.al hermes/.libs/libhermes.al -Wl,–no-whole-archive -lm
-L/opt/kde2/lib -ldl -lartsc -L/usr/lib -lesd -laudiofile -lm
-L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -ldl -lc
-Wl,-soname -Wl,libSDL-1.2.so.0 -o .libs/libSDL-1.2.so.0.0.1
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [libSDL.la] Error 1
–
the trees the birds the air the grass the water the flies the trees
I’m compiling sdl 1.2 on a Pentium 3 linux box, using gcc 2.95.3 and nasm
0.98. After doing a plain configure, my linker dumps core when linking the
nasm generated objects.
When I’m specifying --enable-nasm=no, compilation and linking: no problemo.
Anyone seeing this problems?
someone (could have been you) reported the same thing on #sdl. I suggest
that you verify the integrity of the nasm-generated objects (perhaps
downgrade nasm to an earlier version and compare). If the new ones can
be shown to be broken, please contact the nasm developers
Using nasm is nice because it permits us to have cross-platform asm sources,
but if it cannot behave we’ll have to switch to gas, even if it might be
slightly more troublesome for Windows users (it should be possible though)
In article <20010707213310.1ea23ed8.alfons at proteus.demon.nl>,
Alfons Hoogervorst wrote:
I’m compiling sdl 1.2 on a Pentium 3 linux box, using gcc 2.95.3 and nasm
0.98. After doing a plain configure, my linker dumps core when linking the
nasm generated objects.
When I’m specifying --enable-nasm=no, compilation and linking: no problemo.
Anyone seeing this problems?
What version of binutils are you using?
I had the same problem. Installing a different version of binutils fixed
things. I was using the latest version of binutils at the time so I had
to downgrade. But I’ve not tried binutils-2.11.2.–
Christopher John Purnell | A friend in need’s a friend in deed
http://www.lost.org.uk/ | A friend with weed is better
--------------------------| A friend with breasts and all the rest
What gods do you pray to? | A friend who’s dressed in leather
Lo Christopher,On Mon, 9 Jul 2001 06:26:16 -0700 you wrote:
CP>>When I’m specifying --enable-nasm=no, compilation and linking: no
CP>>problemo.
CP>>Anyone seeing this problems?
CP>
CP>What version of binutils are you using?
Latest stable: 2.11.
Bye.
–
the trees the birds the air the grass the water the flies the trees
Lo Christopher,On Mon, 9 Jul 2001 06:26:16 -0700 you wrote:
CP>What version of binutils are you using?
CP>
CP>I had the same problem. Installing a different version of
CP>binutils fixed things. I was using the latest version of binutils
CP>at the time so I had to downgrade. But I’ve not tried
CP>binutils-2.11.2.
That more or less solves the problem: when using ld version 2.9.1
everything compiles fine, no core dumps. I guess that’s a NASM problem.
Bye.
–
the trees the birds the air the grass the water the flies the trees
In article <20010710173846.2715d1be.alfons at proteus.demon.nl>,
Alfons Hoogervorst wrote:>On Mon, 9 Jul 2001 06:26:16 -0700 you wrote:
CP>What version of binutils are you using?
CP>
CP>I had the same problem. Installing a different version of
CP>binutils fixed things. I was using the latest version of binutils
CP>at the time so I had to downgrade. But I’ve not tried
CP>binutils-2.11.2.
That more or less solves the problem: when using ld version 2.9.1
everything compiles fine, no core dumps. I guess that’s a NASM problem.
No, gnu ld crashing is a gnu ld problem. ld beging part of the gnu binutils
package it is therefore a gnu binutils problem. If nasm was generating bad
output ld should throw up and error, not crash.
–
Christopher John Purnell | A friend in need’s a friend in deed
http://www.lost.org.uk/ | A friend with weed is better
--------------------------| A friend with breasts and all the rest
What gods do you pray to? | A friend who’s dressed in leather
No, gnu ld crashing is a gnu ld problem. ld beging part of the gnu binutils
package it is therefore a gnu binutils problem. If nasm was generating bad
output ld should throw up and error, not crash.
I don’t disagree but we have still to find out whether the nasm output
is well-formed or not. If whoever had the problem cannot verify it himself,
please post a link to some nasm output (including the source code)
so others on the list can give it a try
Lo Christopher,On Thu, 12 Jul 2001 06:43:56 -0700 you wrote:
CP>>That more or less solves the problem: when using ld version 2.9.1
CP>>everything compiles fine, no core dumps. I guess that’s a NASM
CP>>problem.
CP>
CP>No, gnu ld crashing is a gnu ld problem. ld beging part of the gnu
CP>binutils package it is therefore a gnu binutils problem. If nasm was
CP>generating bad output ld should throw up and error, not crash.
Sure, you can see it that way. Let me just add that both ld 2.9.1 (1997)
and nasm 0.98 (1999) are fairly outdated.
Bye.
–
If I feed my dog ****, and he barfs on it, it’s his problem, isn’t it?
Hi,On Thu, 12 Jul 2001, Mattias Engdegard wrote:
I don’t disagree but we have still to find out whether the nasm output
is well-formed or not. If whoever had the problem cannot verify it himself,
please post a link to some nasm output (including the source code)
so others on the list can give it a try
I don’t have a clue of how a linker works and unfortunatly really don’t
have time and energy to dig into this stuff at the moment, but i’ll try to
help.
ok you can find a tarball of my SDL source tree including configure.out
and make.out, the outputs of configure and make, at:
http://www.fs.tum.de/~rutzi/SDL-1.2.1-debug.tar.gz
What else can i do to help?
MfG
Stefan
In article <20010712183505.58e4f89b.alfons at proteus.demon.nl>,
Alfons Hoogervorst wrote:
Sure, you can see it that way. Let me just add that both ld 2.9.1 (1997)
and nasm 0.98 (1999) are fairly outdated.
nasm 0.98 is the latest version and ld 2.10.1 (Nov 2000) also works.–
Christopher John Purnell | A friend in need’s a friend in deed
http://www.lost.org.uk/ | A friend with weed is better
--------------------------| A friend with breasts and all the rest
What gods do you pray to? | A friend who’s dressed in leather
actually, nasm .98.8 is the newest, except that .98.8 is highly unrecommended
because it has various problems. Even zsnes says use .98, not .98.8. (then
again, zsnes has compile problems with .98.8 *snicker) Saddly, tho, nasm
is no longer developed, and is not gpl. But it should prove simple to make
a gpl clone. (GASM? orGASM?)On 13-Jul-2001, Christopher Purnell wrote:
In article <20010712183505.58e4f89b.alfons at proteus.demon.nl>,
Alfons Hoogervorst wrote:
Sure, you can see it that way. Let me just add that both ld 2.9.1 (1997)
and nasm 0.98 (1999) are fairly outdated.
nasm 0.98 is the latest version and ld 2.10.1 (Nov 2000) also works.
–
Christopher John Purnell | A friend in need’s a friend in deed
http://www.lost.org.uk/ | A friend with weed is better
--------------------------| A friend with breasts and all the rest
What gods do you pray to? | A friend who’s dressed in leather
actually, nasm .98.8 is the newest, except that .98.8 is highly unrecommended
because it has various problems. Even zsnes says use .98, not .98.8. (then
again, zsnes has compile problems with .98.8 *snicker) Saddly, tho, nasm
is no longer developed, and is not gpl. But it should prove simple to make
a gpl clone. (GASM? orGASM?)
It is GPL and the source is available. They have moved their website around
quite a bit. The page with the latest version is http://nasm.2y.net/
Florian–
Florian ‘Proff’ Schulze - @Florian_Schulze
Homepage: - http://proff.fly.to
PGP-Key available from - http://www.keyserver.net/en/
Hmm really… I dunno, it should be continued to be developed. Its a good program
and it tends to be easier to deal with than gcc’s inline asm from what ive heard.On 17-Jul-2001, Florian Schulze wrote:
actually, nasm .98.8 is the newest, except that .98.8 is highly unrecommended
because it has various problems. Even zsnes says use .98, not .98.8. (then
again, zsnes has compile problems with .98.8 *snicker) Saddly, tho, nasm
is no longer developed, and is not gpl. But it should prove simple to make
a gpl clone. (GASM? orGASM?)
It is GPL and the source is available. They have moved their website around
quite a bit. The page with the latest version is http://nasm.2y.net/
Florian
Florian ‘Proff’ Schulze - florian.proff.schulze at gmx.net
Homepage: - http://proff.fly.to
PGP-Key available from - http://www.keyserver.net/en/