[Bug binutils/2876] [Build] "Dangerous" mktemp warning

2006-10-09 Thread robert at linuxfromscratch dot org

--- Additional Comments From robert at linuxfromscratch dot org  2006-10-09 
12:22 ---
Created an attachment (id=1360)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1360&action=view)
new mkstemp/mkdtemp patch

I made this patch from OpenBSD-cvs Binutils source, and added some autoconf
stuff so mktemp(3) will be used if the system does not have mkstemp/mkdtemp(3).
This patch should allow systems with mkstemp/mkdtemp to use them while staying
portable to systems without mkstemp.


-- 
   What|Removed |Added

Attachment #1135 is|0   |1
   obsolete||


http://sourceware.org/bugzilla/show_bug.cgi?id=2876

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/2876] [Build] "Dangerous" mktemp warning

2006-10-09 Thread robert at linuxfromscratch dot org


-- 
   What|Removed |Added

 CC||robert at linuxfromscratch
   ||dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=2876

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/2876] [Build] "Dangerous" mktemp warning

2006-10-10 Thread robert at linuxfromscratch dot org

--- Additional Comments From robert at linuxfromscratch dot org  2006-10-11 
06:27 ---
Reopen bug with proposed patch (request for comments).

-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |


http://sourceware.org/bugzilla/show_bug.cgi?id=2876

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4304] New: ld --fatal-warnings doesn't work

2007-03-31 Thread robert at linuxfromscratch dot org
Hello.

To reproduce this bug get yourself a copy of Gzip source and do:

env CFLAGS="-fpie -O2" \
 LDFLAGS="-Wl,--warn-shared-textrel -Wl,--fatal-warnings -pie" \
  ./configure &&
make

Then you should get something like this:

gcc -std=gnu99  -fpie -O2  -Wl,--warn-shared-textrel -Wl,--fatal-warnings -o 
gzip bits.o crypt.o deflate.o gzip.o inflate.o lzw.o trees.o unlzh.o unlzw.o 
unpack.o unzip.o util.o zip.o lib/libgzip.a
/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
 
warning: creating a DT_TEXTREL in a shared object.

and you might notice the warning is not fatal...

Tested on binutils-2.17 and binutils-070315.

P.S.
I also noticed adding -Werror and -Wfatal-errors GCC flags had no effect.

-- 
   Summary: ld --fatal-warnings doesn't work
   Product: binutils
   Version: 2.18 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: robert at linuxfromscratch dot org
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=4304

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4480] New: Error for DT_TEXTREL in shared object option

2007-05-09 Thread robert at linuxfromscratch dot org
Using the options '--warn-shared-textrel --fatal-warnings' will cause all 
warnings to be fatal, not just shared-textrel. I'm attaching a patch to add 
a --error-shared-textrel option, to make DT_TEXTREL in a shared object a fatal 
error.

-- 
   Summary: Error for DT_TEXTREL in shared object option
   Product: binutils
   Version: 2.18 (HEAD)
Status: NEW
  Severity: enhancement
  Priority: P3
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
    ReportedBy: robert at linuxfromscratch dot org
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=4480

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4480] Error for DT_TEXTREL in shared object option

2007-05-09 Thread robert at linuxfromscratch dot org

--- Additional Comments From robert at linuxfromscratch dot org  2007-05-09 
23:39 ---
Created an attachment (id=1780)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1780&action=view)
Patch to add --error-shared-textrel 


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4480

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils