https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110550
--- Comment #3 from Sascha Wilde ---
Are there any additional tests i could provide to help resolving this issue?
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=110550
--- Comment #2 from Sascha Wilde ---
(please excuse my late reply)
Indeed without jit the build works as expected.
However, jit is the primary reason I'm building gcc on NetBSD.
Building relocateable code also in the supporting libraries is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110550
Bug ID: 110550
Summary: libintl build without -fPIC even though
--enable-shared is configured
Product: gcc
Version: 12.3.0
Status: UNCONFIRMED
Severity: normal
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=105561
--- Comment #3 from Sascha Wilde ---
(In reply to Richard Biener from comment #1)
> I wonder if you can get a backtrace from gdb for the crash? When you add -v
> to the failing command you should see cc1plus being invoked, trace on that
> comma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105561
--- Comment #2 from Sascha Wilde ---
(In reply to Richard Biener from comment #1)
> I wonder if you can get a backtrace from gdb for the crash? When you add -v
> to the failing command you should see cc1plus being invoked, trace on that
> comma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105561
Bug ID: 105561
Summary: Nondeterministic ICE on creation of
bits/stdc++.h.gch/O2g.gch and
bits/extc++.h.gch/O2g.gch
Product: gcc
Version: 12.1.0
Stat
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 DW_AT_prod
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&action=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 b
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 cont
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 o
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&action=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 #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 9Mi
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&action=edit
Output of: readelf -Wa /usr/local/lib/libgccjit.so
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 \
--with-bugurl='https:/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100096
Bug ID: 100096
Summary: libgccjit.so.0: Cannot write-enable text segment:
Permission denied on NetBSD 9.1
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Seve
20 matches
Mail list logo