Hello Scott,

Someone else has gotten burned by rpm insisting on adding unwanted compiler 
options and the glibc fortify source code problem.  He is suggesting the 
following patch -- see his email below.

Would you comment on it?

Perhaps something like the following for all systems:

export CFLAGS="${CFLAGS} -D FORTIFY_SOURCE=0" 

(or whatever it should actually be) would solve these problems for good.

Regards,

Kern

On Wednesday 21 January 2009 21:37:26 Yuri Timofeev wrote:
> Hi
>
> See http://bugs.bacula.org/view.php?id=1218 "0001218: buffer overflow
> detected"
>
> Maybe do a patch?
>
>
> $ diff -u bacula.spec bacula.spec.new
> --- bacula.spec 2009-01-10 17:13:41.000000000 +0200
> +++ bacula.spec.new     2009-01-21 22:34:12.000000000 +0200
> @@ -1417,6 +1417,10 @@
>
>  %build
>
> +%if %{fc8}
> +export 'CFLAGS=-D_FORTIFY_SOURCE=0'
> +%endif
> +
>  %if %{su9} || %{su10} || %{su102} || %{su103} || %{su110} || %{su111}
>  export LDFLAGS="${LDFLAGS} -L/usr/lib/termcap"
>  %endif



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to