Bug 11071 - Mild configuration problems
Summary: Mild configuration problems
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.1.15
Hardware: Sparc Solaris
: P5 normal (vote)
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
Depends on:
Reported: 2015-01-24 05:12 UTC by aab
Modified: 2020-01-03 11:00 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description aab 2015-01-24 05:12:05 UTC
Solaris 8
Studio 11 Compiler Suite

Mild problems encountered during 'configure':

CC=cc CFLAGS="-xO5 -xdepend" LDFLAGS="-L/usr/local/lib -R/usr/local/lib
-lresolv" CPPFLAGS="-I/usr/local/include" STRIP=echo configure -v --prefix=/opt/

Configure script concludes that the '-fstack-protector' option is valid.  The compiler complains with a "Warning" message but return status is "0".  When checking options, inclusion of the '-errwarn' option would be nice.

A similar problem when checking the '-errwarn=%all" option.  The compiler accepts the '-errwarn=%all' option but issues "warning: empty translation unit" which in turn causes a non-zero return status because of the '-errwarn'.  And around in circles we will go.

--  Thanks,
--    Paul Townsend
Comment 1 aab 2015-01-24 05:13:36 UTC
That summary message should probably have read "pre-compilation configuration'.

--    PGT
Comment 2 Björn Jacke 2020-01-03 11:00:46 UTC
the errwarn compileer flag is being checked since quite a while already