chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] [5] avoid colliding .o files when compiling ex


From: felix . winkelmann
Subject: [Chicken-hackers] [PATCH] [5] avoid colliding .o files when compiling extensions
Date: Thu, 07 Sep 2017 14:11:42 +0200

Hi!

The attached patch attempts to fix #1369. The problem here is (or seems to be)
that .o files produced for static and dynamic versions of an extension may 
collide.
Specifically, the static .o file will be overwritten in a subsequent compile of 
the
dynamic version. Normally, the static variant is built after the dynamic one,
but by using the "-k" (keep) option, by, copying files into the egg cache, by 
aborted
egg-builds or manual development there may be cases where the .o files may
be mixed up.

I couldn't reproduce this fully, but Peter reported problems with wrongly 
compiled
..o files, so this patch is an attempt to avoid any mixup.


felix

Attachment: 0001-When-compiling-static-extensions-use-a-different-nam.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]