Source: d1x-rebirth
Version: 0.58.1-1.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Hi,

d1x-rebirth started to FTBFS when GCC 10 was made the default compiler:

gcc -o d1x-rebirth -Wl,-z,relro 2d/2dsline.o 2d/bitblt.o 2d/bitmap.o 2d/box.o 
2d/canvas.o 2d/circle.o 2d/disc.o 2d/font.o 2d/gpixel.o 2d/line.o 2d/palette.o 
2d/pcx.o 2d/pixel.o 2d/poly.o 2d/rect.o 2d/rle.o 2d/scalec.o 3d/clipper.o 
3d/draw.o 3d/globvars.o 3d/i
nstance.o 3d/interp.o 3d/matrix.o 3d/points.o 3d/rod.o 3d/setup.o 
arch/sdl/event.o arch/sdl/init.o arch/sdl/joy.o arch/sdl/key.o arch/sdl/mouse.o 
arch/sdl/rbaudio.o arch/sdl/timer.o arch/sdl/window.o arch/sdl/digi.o 
arch/sdl/digi_audio.o iff/iff.o main/ai.o m
ain/aipath.o main/automap.o main/bm.o main/bmread.o main/cntrlcen.o 
main/collide.o main/config.o main/console.o main/controls.o main/credits.o 
main/custom.o main/digiobj.o main/dumpmine.o main/effects.o main/endlevel.o 
main/fireball.o main/fuelcen.o main/fvi.
o main/game.o main/gamecntl.o main/gamefont.o main/gamemine.o main/gamerend.o 
main/gamesave.o main/gameseg.o main/gameseq.o main/gauges.o main/hostage.o 
main/hud.o main/inferno.o main/kconfig.o main/kmatrix.o main/laser.o 
main/lighting.o main/menu.o main/mglo
bal.o main/mission.o main/morph.o main/multi.o main/multibot.o main/newdemo.o 
main/newmenu.o main/object.o main/paging.o main/physics.o main/piggy.o 
main/player.o main/playsave.o main/polyobj.o main/powerup.o main/render.o 
main/robot.o main/scores.o main/slew
.o main/snddecom.o main/songs.o main/state.o main/switch.o main/terrain.o 
main/texmerge.o main/text.o main/titles.o main/vclip.o main/wall.o 
main/weapon.o maths/fixc.o maths/rand.o maths/tables.o maths/vecmat.o mem/mem.o 
misc/args.o misc/dl_list.o misc/error.
o misc/hash.o misc/hmp.o misc/ignorecase.o misc/physfsx.o misc/strio.o 
misc/strutil.o texmap/ntmap.o texmap/scanline.o arch/ogl/gr.o arch/ogl/ogl.o 
arch/sdl/digi_mixer.o arch/sdl/digi_mixer_music.o arch/sdl/jukebox.o 
main/net_udp.o main/vers_id.o -lSDL -lphys
fs -lm -lGL -lGLU -lSDL_mixer
/usr/bin/ld: arch/sdl/mouse.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/ai.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/automap.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/bm.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/bmread.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/cntrlcen.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/collide.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/endlevel.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/fireball.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/fuelcen.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/game.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/gamecntl.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/gamerend.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
/usr/bin/ld: main/gamesave.o:./main/multi.h:184: multiple definition of 
`multi_allow_powerup_mask'; arch/sdl/joy.o:./main/multi.h:184: first defined 
here
[...]

More information about the corresponding GCC change can be found here:
https://gcc.gnu.org/gcc-10/porting_to.html
"Default to -fno-common"


Andreas

Reply via email to