Same named object files get overwritten
See original GitHub issueI’m trying to compile ImageMagick with wllvm
. Among others it has the following 3 source files:
../MagickCore/magick.c
../coders/magick.c
../utilities/magick.c
However the manifest for magic.o.bc
objects looks like this:
utilities/.magick.o.bc
.magick.o.bc
.magick.o.bc
(notice the repeated .magic.o.bc
) and the symbols defined in MagicCore/magick.c
are undefined in the final binary.
So I’m pretty sure that wllvm
puts the .bc
files for both coders/magick.c
and MagicCore/magick.c
into the same .magic.o.bc
file, so one of them get’s overwritten.
I tried wllvm versions 1.2.2 and 1.2.7 and it seems to happen in both.
Any pointers as to how to fix this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Object Storage Service:Prevent objects from being overwritten ...
Object Storage Service:Prevent objects from being overwritten by objects that have the same names. By default, if you upload an object that has ......
Read more >java - Will an object me overridden if it has the same name as ...
Your question is confusing. Objects don't "override" each other, and objects don't have names either. Variables have names, but they're not ...
Read more >Windows overwrote files with the same name, and now the old ...
The files appear to have been overwritten. The ways this would normally be recovered is using File History or from your backup. System...
Read more >KB11458: "An existing file with the same name is overwritten ...
This issue occurs when a Read only file with the same name as the one being generated is already stored in the destination...
Read more >What happens when I overwrite an existing file with the same ...
As others have said, in most cases if a program writes two files with the exact same name, the first will be lost...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
First try gllvm, since I think this was fixed a while ago. If not I can take a look after thanksgiving.
It seems this is only happening with debian 9, I upgraded and now it seems fine. Going to close, thanks for your help!