bugmake - Bugs: bug #63044, Make fails to update .LOADED when...

 
 

bug #63044: Make fails to update .LOADED when the setup routine returns -1.

Submitter:  Dmitry Goncharov <dgoncharov>
Submitted:  Sun 11 Sep 2022 01:46:28 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.4 Operating System:  POSIX-Based
Fixed Release:  4.4 Triage Status:  Small Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 11 Sep 2022 02:48:29 AM UTC, comment #2: 

Thanks Dmitry.  I added a normal test of -1 behavior as well now that we can trigger it.

Paul D. Smith <psmith>
Group administrator
Sun 11 Sep 2022 01:48:52 AM UTC, comment #1: 

Make fails to add a loaded shared object to .LOADED when the shared object setup routine returns -1.




$ ls
makefile  timer2.c
$ cat timer2.c
int plugin_is_GPL_compatible;

int
timer2_gmk_setup (void)
{
  return -1;
}
$ gcc -o timer2.so -shared -fPIC timer2.c
$ cat makefile
load timer2.so
$(info .loaded = $(.LOADED))
all:; $(info .loaded = $(.LOADED))
$ make-4.3
.loaded =
.loaded =
make-4.3: 'all' is up to date.


Dmitry Goncharov <dgoncharov>
Sun 11 Sep 2022 01:46:28 AM UTC, original submission:  

.

Dmitry Goncharov <dgoncharov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #53676:  sv63044_fix.diff added by dgoncharov (996B - text/x-patch)
file #53677:  sv63044_test.diff added by dgoncharov (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by dgoncharov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-11 psmith StatusNone Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.4
        Triage StatusNone Small Effort
    2022-09-11 dgoncharov Attached File- Added sv63044_fix.diff, #53676
        Attached File- Added sv63044_test.diff, #53677

    Back to the top

    Powered by Savane 3.13-da57.
    Corresponding source code