https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #30 from Sascha Wilde ---
Anything else I should test?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
Sascha Wilde changed:
What|Removed |Added
Resolution|FIXED |---
Status|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |8.5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #27 from CVS Commits ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:db80752e02b765dfc129892377aebf18bcb7fc8a
commit r8-10911-gdb80752e02b765dfc129892377aebf18bcb7fc8a
Author: Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #26 from CVS Commits ---
The releases/gcc-9 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:e173d85243b7732aa3ef29ebf7ecc6a54d21320c
commit r9-9449-ge173d85243b7732aa3ef29ebf7ecc6a54d21320c
Author: Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #25 from CVS Commits ---
The releases/gcc-10 branch has been updated by Jakub Jelinek
:
https://gcc.gnu.org/g:a11f31102706e33f66b60367d6863613ab3bd051
commit r10-9731-ga11f31102706e33f66b60367d6863613ab3bd051
Author: Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #24 from CVS Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:4a1493f0603262a7dc1114d9827353e9810e63dc
commit r11-8225-g4a1493f0603262a7dc1114d9827353e9810e63dc
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #23 from wi...@sha-bang.de ---
"jakub at gcc dot gnu.org" wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
>
> --- Comment #22 from Jakub Jelinek ---
> It applies cleanly to gcc 10 too. intl/ isn't really changing all
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #22 from Jakub Jelinek ---
It applies cleanly to gcc 10 too. intl/ isn't really changing all that much...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #21 from wi...@sha-bang.de ---
"jakub at gcc dot gnu.org" wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
>
> --- Comment #20 from Jakub Jelinek ---
> Created attachment 50614
> -->
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #20 from Jakub Jelinek ---
Created attachment 50614
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50614=edit
gcc11-pr100096.patch
Thanks. So, from your readelf -wi dump it seems it is only libintl.a that
doesn't have
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #19 from Sascha Wilde ---
(In reply to Jakub Jelinek from comment #14)
> Though, DW_AT_producer lines don't really provide the filename and comp_dir,
> so guess what I need is better
> readelf -wi libgccjit.so.0 | grep -A4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #18 from Sascha Wilde ---
Created attachment 50612
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50612=edit
Output of: readelf -wi libgccjit.so.0 | grep -A4 DW_AT_producer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #17 from Sascha Wilde ---
(In reply to David Malcolm from comment #16)
> (In reply to Sascha Wilde from comment #10)
> > (In reply to David Malcolm from comment #8)
> > > It would be good to know exactly where that error message is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #16 from David Malcolm ---
(In reply to Sascha Wilde from comment #10)
> (In reply to David Malcolm from comment #8)
> > It would be good to know exactly where that error message is being emitted.
> >
> > If you add:
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #15 from Sascha Wilde ---
(In reply to Jakub Jelinek from comment #13)
> readelf -wi libgccjit.so.0 | grep DW_AT_producer | grep -v 'fPIC\|fpic'
FWIW, I had the command running for quite some while without spotting any
line not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #14 from Jakub Jelinek ---
Though, DW_AT_producer lines don't really provide the filename and comp_dir,
so guess what I need is better
readelf -wi libgccjit.so.0 | grep -A4 DW_AT_producer | bzip2 -9
output.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #13 from Jakub Jelinek ---
The important question is what TUs are compiled without -fPIC/-fpic, those with
those options are fine.
So perhaps
readelf -wi libgccjit.so.0 | grep DW_AT_producer | grep -v 'fPIC\|fpic'
?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #12 from Sascha Wilde ---
(In reply to Jakub Jelinek from comment #9)
> Perhaps
> readelf -wi libgccjit.so.0 | grep DW_AT_producer
> would make it clearer on what is and what is not built with -fpic/-fPIC.
This runs quite long and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #11 from Sascha Wilde ---
Created attachment 50603
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50603=edit
tut01-hello-world log output
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #10 from Sascha Wilde ---
(In reply to David Malcolm from comment #8)
> It would be good to know exactly where that error message is being emitted.
>
> If you add:
> gcc_jit_context_set_logfile (ctxt, stderr, 0, 0);
> to the test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #9 from Jakub Jelinek ---
So I see 236 R_386_RELATIVE text relocations and 231 other text relocations.
Seems the compiler itself is built with -fpic/-fPIC, but some of the libraries
that are linked into it are not, e.g. libintl.a,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #8 from David Malcolm ---
(In reply to Sascha Wilde from comment #6)
> However, please note that
> "Cannot write-enable text segment: Permission denied"
> is the more pressing problem, as it prevents libgccjit to be used
> on NetBSD
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #7 from Andreas Schwab ---
That's just the consequence of text relocations.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #6 from Sascha Wilde ---
However, please note that
"Cannot write-enable text segment: Permission denied"
is the more pressing problem, as it prevents libgccjit to be used
on NetBSD with default security settings.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #5 from Sascha Wilde ---
(In reply to Jakub Jelinek from comment #3)
> So, how many text relocations do you see?
> E.g. readelf -Wa libgccjit.so.0 output attached here would be useful.
I attached the requested output (its nearly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #4 from Sascha Wilde ---
Created attachment 50602
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50602=edit
Output of: readelf -Wa /usr/local/lib/libgccjit.so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #3 from Jakub Jelinek ---
So, how many text relocations do you see?
E.g. readelf -Wa libgccjit.so.0 output attached here would be useful.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
--- Comment #2 from Sascha Wilde ---
> How did you build libgccjit.so.0?
> Have you used --enable-host-shared during configure?
Yes, AFAIK this is mandatory?
Here is the configuration I used:
../gcc-10.2.0/configure \
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment
31 matches
Mail list logo