* bug#38212: hedgewars build fails: cannot find crt1.o: No such file or directory
@ 2019-11-14 21:44 Pierre Neidhardt
2019-11-14 23:07 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2019-11-14 21:44 UTC (permalink / raw)
To: 38212
[-- Attachment #1: Type: text/plain, Size: 3921 bytes --]
Hedgewars fails to build:
--8<---------------cut here---------------start------------->8---
/gnu/store/p9xwaf1x449b51pganqp070n0d8xpwma-clang-8.0.0/bin/clang -fPIC -fstack-protector-all -fstack-protector -fvisibility=hidden -Wall -pipe -O2 -g -DNDEBUG -Wl,-znoexecstack -Wl,-zorigin -Wl,-zrelro -Wl,-znow -Wl,--as-needed -rdynamic CMakeFiles/hwengine.dir/ArgParsers.c.o CMakeFiles/hwengine.dir/LuaPas.c.o CMakeFiles/hwengine.dir/SDLh.c.o CMakeFiles/hwengine.dir/adler32.c.o CMakeFiles/hwengine.dir/uAI.c.o CMakeFiles/hwengine.dir/uAIActions.c.o CMakeFiles/hwengine.dir/uAIAmmoTests.c.o CMakeFiles/hwengine.dir/uAILandMarks.c.o CMakeFiles/hwengine.dir/uAIMisc.c.o CMakeFiles/hwengine.dir/uAmmos.c.o CMakeFiles/hwengine.dir/uCaptions.c.o CMakeFiles/hwengine.dir/uChat.c.o CMakeFiles/hwengine.dir/uCollisions.c.o CMakeFiles/hwengine.dir/uCommandHandlers.c.o CMakeFiles/hwengine.dir/uCommands.c.o CMakeFiles/hwengine.dir/uConsole.c.o CMakeFiles/hwengine.dir/uConsts.c.o CMakeFiles/hwengine.dir/uCursor.c.o CMakeFiles/hwengine.dir/uDebug.c.o CMakeFiles/hwengine.dir/uFloat.c.o CMakeFiles/hwengine.dir/uGame.c.o CMakeFiles/hwengine.dir/uGears.c.o CMakeFiles/hwengine.dir/uGearsHandlers.c.o CMakeFiles/hwengine.dir/uGearsHandlersMess.c.o CMakeFiles/hwengine.dir/uGearsHandlersRope.c.o CMakeFiles/hwengine.dir/uGearsHedgehog.c.o CMakeFiles/hwengine.dir/uGearsList.c.o CMakeFiles/hwengine.dir/uGearsRender.c.o CMakeFiles/hwengine.dir/uGearsUtils.c.o CMakeFiles/hwengine.dir/uIO.c.o CMakeFiles/hwengine.dir/uInputHandler.c.o CMakeFiles/hwengine.dir/uLand.c.o CMakeFiles/hwengine.dir/uLandGenMaze.c.o CMakeFiles/hwengine.dir/uLandGenPerlin.c.o CMakeFiles/hwengine.dir/uLandGenTemplateBased.c.o CMakeFiles/hwengine.dir/uLandGraphics.c.o CMakeFiles/hwengine.dir/uLandObjects.c.o CMakeFiles/hwengine.dir/uLandOutline.c.o CMakeFiles/hwengine.dir/uLandPainted.c.o CMakeFiles/hwengine.dir/uLandTemplates.c.o CMakeFiles/hwengine.dir/uLandTexture.c.o CMakeFiles/hwengine.dir/uLandUtils.c.o CMakeFiles/hwengine.dir/uLocale.c.o CMakeFiles/hwengine.dir/uMisc.c.o CMakeFiles/hwengine.dir/uPhysFSLayer.c.o CMakeFiles/hwengine.dir/uRandom.c.o CMakeFiles/hwengine.dir/uRender.c.o CMakeFiles/hwengine.dir/uRenderUtils.c.o CMakeFiles/hwengine.dir/uScript.c.o CMakeFiles/hwengine.dir/uSinTable.c.o CMakeFiles/hwengine.dir/uSound.c.o CMakeFiles/hwengine.dir/uStats.c.o CMakeFiles/hwengine.dir/uStore.c.o CMakeFiles/hwengine.dir/uTeams.c.o CMakeFiles/hwengine.dir/uTextures.c.o CMakeFiles/hwengine.dir/uTypes.c.o CMakeFiles/hwengine.dir/uUtils.c.o CMakeFiles/hwengine.dir/uVariables.c.o CMakeFiles/hwengine.dir/uVisualGears.c.o CMakeFiles/hwengine.dir/uVisualGearsHandlers.c.o CMakeFiles/hwengine.dir/uVisualGearsList.c.o CMakeFiles/hwengine.dir/uWorld.c.o CMakeFiles/hwengine.dir/hwengine.c.o -o ../../bin/hwengine -Wl,-rpath,"\$ORIGIN/../lib/:\$ORIGIN/:/gnu/store/pkymm74mrbq6mifz2cna087zmqysmljg-hedgewars-0.9.25/lib/" ../../bin/libfpcrtl.a -llua -lGLU -lGL -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -lpthread -lSDL2_mixer -lSDL2_net -lSDL2_image -lSDL2_ttf -lGLEW /gnu/store/2w6n1xzr7gi3javik65v38p20b9g03jk-physfs-3.0.2/lib/libphysfs.so ../../bin/libphyslayer.so.1.0 -lm -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -lpthread /gnu/store/2w6n1xzr7gi3javik65v38p20b9g03jk-physfs-3.0.2/lib/libphysfs.so /gnu/store/66v4l71wp7rrcqh7jrqrpkdwhpflqfmk-lua-5.1.5/lib/liblua.so
ld: cannot find crt1.o: No such file or directory
ld: cannot find crti.o: No such file or directory
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [project_files/hwc/CMakeFiles/hwengine.dir/build.make:1288: bin/hwengine] Error 1
make[2]: Leaving directory '/tmp/guix-build-hedgewars-0.9.25.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:314: project_files/hwc/CMakeFiles/hwengine.dir/all] Error 2
--8<---------------cut here---------------end--------------->8---
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#38212: hedgewars build fails: cannot find crt1.o: No such file or directory
2019-11-14 21:44 bug#38212: hedgewars build fails: cannot find crt1.o: No such file or directory Pierre Neidhardt
@ 2019-11-14 23:07 ` Nicolas Goaziou
2019-11-17 22:16 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2019-11-14 23:07 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: 38212
Hello,
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> Hedgewars fails to build:
>
[...]
> ld: cannot find crt1.o: No such file or directory
> ld: cannot find crti.o: No such file or directory
> clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [project_files/hwc/CMakeFiles/hwengine.dir/build.make:1288: bin/hwengine] Error 1
> make[2]: Leaving directory '/tmp/guix-build-hedgewars-0.9.25.drv-0/build'
> make[1]: *** [CMakeFiles/Makefile2:314: project_files/hwc/CMakeFiles/hwengine.dir/all] Error 2
For the record, building Hedgewars 1.0 (for which I have a pending
patch) fails in the same fashion.
This is probably related to bug#37999.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#38212: hedgewars build fails: cannot find crt1.o: No such file or directory
2019-11-14 23:07 ` Nicolas Goaziou
@ 2019-11-17 22:16 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2019-11-17 22:16 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: 38212-done
Hello,
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Pierre Neidhardt <mail@ambrevar.xyz> writes:
>
>> Hedgewars fails to build:
>>
>
> [...]
>
>> ld: cannot find crt1.o: No such file or directory
>> ld: cannot find crti.o: No such file or directory
>> clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
>> make[2]: *** [project_files/hwc/CMakeFiles/hwengine.dir/build.make:1288: bin/hwengine] Error 1
>> make[2]: Leaving directory '/tmp/guix-build-hedgewars-0.9.25.drv-0/build'
>> make[1]: *** [CMakeFiles/Makefile2:314: project_files/hwc/CMakeFiles/hwengine.dir/all] Error 2
>
> For the record, building Hedgewars 1.0 (for which I have a pending
> patch) fails in the same fashion.
>
> This is probably related to bug#37999.
Recent clang patches fixed the issue. I'm closing this report.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-17 22:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-14 21:44 bug#38212: hedgewars build fails: cannot find crt1.o: No such file or directory Pierre Neidhardt
2019-11-14 23:07 ` Nicolas Goaziou
2019-11-17 22:16 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).