Package: gdc-4.1
Version: 0.25-4.1.2-23.2
Severity: normal

Torus Trooper (0.22.dfsg1-4) fails to start with this error message
depending on the order in which the object files were linked:
"Error: circular initialization dependency with module abagames.tt.shape"

This command produces a working binary:
gdc -o torus-trooper src/abagames/tt/camera.o src/abagames/tt/boot.o \
 src/abagames/tt/barrage.o src/abagames/tt/bullettarget.o \
 src/abagames/tt/replay.o src/abagames/tt/ship.o src/abagames/tt/particle.o \
 src/abagames/tt/tunnel.o src/abagames/tt/enemy.o \
 src/abagames/tt/bulletactor.o src/abagames/tt/gamemanager.o \
 src/abagames/tt/screen.o src/abagames/tt/title.o \
 src/abagames/tt/stagemanager.o src/abagames/tt/bulletactorpool.o \
 src/abagames/tt/shot.o src/abagames/tt/prefmanager.o \
 src/abagames/tt/bulletimpl.o src/abagames/tt/letter.o \
 src/abagames/tt/soundmanager.o src/abagames/tt/floatletter.o \
 src/abagames/tt/shape.o src/abagames/util/actor.o src/abagames/util/rand.o \
 src/abagames/util/sdl/input.o src/abagames/util/sdl/sound.o \
 src/abagames/util/sdl/pad.o src/abagames/util/sdl/screen3d.o \
 src/abagames/util/sdl/mainloop.o src/abagames/util/sdl/gamemanager.o \
 src/abagames/util/sdl/screen.o src/abagames/util/sdl/recordablepad.o \
 src/abagames/util/sdl/luminous.o src/abagames/util/sdl/sdlexception.o \
 src/abagames/util/sdl/displaylist.o src/abagames/util/sdl/texture.o \
 src/abagames/util/iterator.o src/abagames/util/bulletml/bullet.o \
 src/abagames/util/bulletml/bulletsmanager.o src/abagames/util/tokenizer.o \
 src/abagames/util/prefmanager.o src/abagames/util/vector.o \
 src/abagames/util/logger.o import/SDL_video.o import/SDL_mixer.o \
 -lbulletml -lSDL -lGL -lGLU -lSDL_mixer

And this command produces a broken binary:
gdc -o torus-trooper src/abagames/tt/bulletactorpool.o src/abagames/tt/boot.o \
 src/abagames/tt/soundmanager.o src/abagames/tt/prefmanager.o \
 src/abagames/tt/title.o src/abagames/tt/shot.o src/abagames/tt/screen.o \
 src/abagames/tt/bulletimpl.o src/abagames/tt/enemy.o \
 src/abagames/tt/stagemanager.o src/abagames/tt/bulletactor.o \
 src/abagames/tt/camera.o src/abagames/tt/particle.o src/abagames/tt/shape.o \
 src/abagames/tt/replay.o src/abagames/tt/tunnel.o src/abagames/tt/letter.o \
 src/abagames/tt/barrage.o src/abagames/tt/ship.o \
 src/abagames/tt/gamemanager.o src/abagames/tt/bullettarget.o \
 src/abagames/tt/floatletter.o src/abagames/util/logger.o \
 src/abagames/util/bulletml/bulletsmanager.o \
 src/abagames/util/bulletml/bullet.o src/abagames/util/actor.o \
 src/abagames/util/prefmanager.o src/abagames/util/sdl/texture.o \
 src/abagames/util/sdl/screen.o src/abagames/util/sdl/input.o \
 src/abagames/util/sdl/recordablepad.o src/abagames/util/sdl/sdlexception.o \
 src/abagames/util/sdl/pad.o src/abagames/util/sdl/mainloop.o \
 src/abagames/util/sdl/sound.o src/abagames/util/sdl/luminous.o \
 src/abagames/util/sdl/gamemanager.o src/abagames/util/sdl/displaylist.o \
 src/abagames/util/sdl/screen3d.o src/abagames/util/vector.o \
 src/abagames/util/iterator.o src/abagames/util/rand.o \
 src/abagames/util/tokenizer.o import/SDL_video.o import/SDL_mixer.o \
 -lbulletml -lSDL -lGL -lGLU -lSDL_mixer

I don't know how to reduce this testcase (leaving out files obviously
causes a failed link), but hopefully this information is useful to
somebody with knowledge of the compiler.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdc-4.1 depends on:
ii  g++-4.1                  4.1.2-25        The GNU C++ compiler
ii  gcc-4.1-base             4.1.2-25        The GNU Compiler Collection (base 
ii  libc6                    2.9-6           GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.3-5       GCC support library
ii  libphobos-4.1-dev        0.25-4.1.2-23.2 The phobos D standard library
ii  libstdc++6               4.3.3-5         The GNU Standard C++ Library v3

gdc-4.1 recommends no packages.

gdc-4.1 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to