Bug 572 - compile failure on DEC OSF/1 vers 4.0f
Summary: compile failure on DEC OSF/1 vers 4.0f
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.2a
Hardware: All OSF/1
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 03:26 UTC by Robert McGrath
Modified: 2005-08-24 10:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert McGrath 2003-10-06 03:26:15 UTC
After a seemingly succesful run of ".configure" a run of "make" end with the 
following;
   Compiling popt/poptparse.c
   Linking bin/smbd
   ld:
   Unresolved:
   __unsafe_string_function_usage_here__
   *** Exit 1
   Stop.

After posting this failure on the samba mailing list, Andrew Bartlett respined 
with this suggested fix;

We have a configure test who's role it is to detect if a function call is 
removed, if not used (as detected by the optomization code).  We use this 
particular compiler-quirk to find buffer-overruns at compile time.

For some reason, it has failed to correctly note your compiler's behaviour and 
have placed:

#define HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS 1

into your config.h.  The easy fix it so remove that line, after you run
configure.
Comment 1 Robert McGrath 2003-10-06 03:31:06 UTC
Attempting to compile the 3.0.0 release of Samba on Compaq Tru64 4.0f (aka DEC 
OSF1 version 4.0f)
I am using the default compiler and "make" supplied with the OS, not GNU make 
and also not GCC.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-03-17 05:40:51 UTC
Robert, please let me know if this is still an 
issues on 3.0.2a so I can move forward on it.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2004-03-18 06:32:20 UTC
Hi,

More feedback:

> I have just downloaded 3.0.2a and tried it again, 
> unfortunately the same problem happens;
> Linking bin/smbd
> ld:
> Unresolved:
>    __unsafe_string_function_usage_here__
>
> Regards
> Robert McGrath


Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-02-08 21:27:12 UTC
please test 3.0.11 and reopen if the bug still exists.  Thanks.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:25:09 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.