--- Comment #12 from zorry at ume dot nu 2010-08-15 21:31 ---
(In reply to comment #11)
> It works for me with -fPIC -fPIE using gcc 4.4.4 on
> Fedora 13. I got
>
> movq__restore...@gotpcrel(%rip), %rax
> movq%rax, 56(%rsp)
>
> in assembly
--- Comment #2 from zorry at ume dot nu 2010-08-15 01:04 ---
Created an attachment (id=21478)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21478&action=view)
compile with -fPIC -DSHARED
file compiled with -fPIC -DSHARED
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45286
--- Comment #1 from zorry at ume dot nu 2010-08-15 01:02 ---
Created an attachment (id=21477)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21477&action=view)
compile with -fPIE
This file is compile with -fPIE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45286
igaction.c glibc get
miss compile with -fPIE on x86_64
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zorry at ume dot n
--- Comment #7 from zorry at ume dot nu 2009-06-14 13:32 ---
Gentoo's >=gcc-4.3.3 is build with -Wformat and -Wformat-security enable to.
--
zorry at ume dot nu changed:
What|Removed
--- Comment #20 from zorry at ume dot nu 2009-03-31 02:37 ---
Created an attachment (id=17565)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17565&action=view)
Got ICE when compile some code with the old patch.
See http://bugs.gentoo.org/show_bug.cgi?id=262567 for I
--- Comment #19 from zorry at ume dot nu 2009-01-30 22:59 ---
Created an attachment (id=17218)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17218&action=view)
fixed for gcc 4.3.3
Thanx for the help
The patch fix the error i have.
--
http://gcc.gnu.org/bugzilla/show_
--- Comment #15 from zorry at ume dot nu 2009-01-29 18:23 ---
We have this in the shared library that is compile with -fPIC
inline u_int32_t
libnet_getgre_length(u_int16_t fv)
{
code
}
And the app have
code
len = libnet_getgre_length(gre_flags);
size += len;
code
--
http
--- Comment #11 from zorry at ume dot nu 2009-01-29 15:03 ---
I don't get the link error with gcc 4.2.4 on the code in comment #7
--
zorry at ume dot nu changed:
What|Removed |
--- Comment #1 from zorry at ume dot nu 2009-01-28 22:16 ---
Created an attachment (id=17205)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17205&action=view)
gre compile with gcc 4.3 and -fPIE -save-temps gre.i
The .i file of gre thats compile with gcc 4.3.2 and CFLAG
ssigned at gcc dot gnu dot org
ReportedBy: zorry at ume dot nu
GCC build triplet: x_86_64
GCC host triplet: x86_64
GCC target triplet: x86_86
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39013
11 matches
Mail list logo