public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Re: Can't seem to post
       [not found] <CAAA5faHOmrAd+bwSc5RJjguF-qE+vgBhWvY59r1yhukJcr6-RA@mail.gmail.com>
@ 2015-04-08 21:28 ` Bryan Hundven
  2015-04-08 22:12   ` Reinoud Koornstra
  2015-04-09  8:33   ` Kevin Chadwick
  0 siblings, 2 replies; 3+ messages in thread
From: Bryan Hundven @ 2015-04-08 21:28 UTC (permalink / raw)
  To: Reinoud Koornstra; +Cc: crossgcc maillist

Reinoud, list,

On Wed, Apr 8, 2015 at 1:31 PM, Reinoud Koornstra
<reinoudkoornstra@gmail.com> wrote:
> Hi Bryan,
>
> I sent a message to the crossgcc list, but I don't see it showing up.
> Maybe you've got a clue?

If I don't, I'm sure someone on the list might! Lets try! :)

> During the compiling of the final gcc 4.9.2, i'm encountering this problem:
>
> [ALL  ]    checking for LFS support... libtool: link:
> /media/SSD/Reinoud/latest_crosstools/.build/mipsel-coconut-linux-uclibc/build/build-cc-final/./gcc/xgcc
> -B/media/SSD/Reinoud/latest_crosstools/.build/mipsel-coconut-linux-uclibc/build/build-cc-final/./gcc/
> -B/media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/bin/
> -B/media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/lib/
> -isystem /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/include
> -isystem /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/sys-include
>    -shared  .libs/ssp.o .libs/gets-chk.o .libs/memcpy-chk.o
> .libs/memmove-chk.o .libs/mempcpy-chk.o .libs/memset-chk.o
> .libs/snprintf-chk.o .libs/sprintf-chk.o .libs/stpcpy-chk.o
> .libs/strcat-chk.o .libs/strcpy-chk.o .libs/strncat-chk.o
> .libs/strncpy-chk.o .libs/vsnprintf-chk.o .libs/vsprintf-chk.o
> -Wl,--version-script=/media/SSD/Reinoud/latest_crosstools/.build/src/gcc-4.9.2/libssp/ssp.map
> -Wl,-EL   -Wl,-soname -Wl,libssp.so.0 -o .libs/libssp.so.0.0.0
> [ALL  ]    /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/bin/ld:
> .libs/ssp.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not
> be used when making a shared object; recompile with -fPIC
> [ALL  ]    .libs/ssp.o: error adding symbols: Bad value
> [ERROR]    collect2: error: ld returned 1 exit status
> [ERROR]    make[4]: *** [libssp.la] Error 1
>
> Ii'm not sure where to try to add the -fPIC flag and if that even
> helps in the first place.

From what I understand...

https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fPIC-2808

It's a CFLAG that should probably go into CT_TARGET_CFLAGS (? I think?).

Are you sure you want ssp with mipsel and uclibc? Just checking.

> Any suggestions?

-Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't seem to post
  2015-04-08 21:28 ` Can't seem to post Bryan Hundven
@ 2015-04-08 22:12   ` Reinoud Koornstra
  2015-04-09  8:33   ` Kevin Chadwick
  1 sibling, 0 replies; 3+ messages in thread
From: Reinoud Koornstra @ 2015-04-08 22:12 UTC (permalink / raw)
  To: Bryan Hundven; +Cc: crossgcc maillist

Unfortunately, adding -fPIC to  CT_TARGET_CFLAGS didn't remedy the problem.
Yes, I want ssp with mipsel and uclibc. :)

Btw, this isn't a problem when building for arm, but for arm i
selected that latest linaro gcc.

On Wed, Apr 8, 2015 at 3:28 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> Reinoud, list,
>
> On Wed, Apr 8, 2015 at 1:31 PM, Reinoud Koornstra
> <reinoudkoornstra@gmail.com> wrote:
>> Hi Bryan,
>>
>> I sent a message to the crossgcc list, but I don't see it showing up.
>> Maybe you've got a clue?
>
> If I don't, I'm sure someone on the list might! Lets try! :)
>
>> During the compiling of the final gcc 4.9.2, i'm encountering this problem:
>>
>> [ALL  ]    checking for LFS support... libtool: link:
>> /media/SSD/Reinoud/latest_crosstools/.build/mipsel-coconut-linux-uclibc/build/build-cc-final/./gcc/xgcc
>> -B/media/SSD/Reinoud/latest_crosstools/.build/mipsel-coconut-linux-uclibc/build/build-cc-final/./gcc/
>> -B/media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/bin/
>> -B/media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/lib/
>> -isystem /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/include
>> -isystem /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/sys-include
>>    -shared  .libs/ssp.o .libs/gets-chk.o .libs/memcpy-chk.o
>> .libs/memmove-chk.o .libs/mempcpy-chk.o .libs/memset-chk.o
>> .libs/snprintf-chk.o .libs/sprintf-chk.o .libs/stpcpy-chk.o
>> .libs/strcat-chk.o .libs/strcpy-chk.o .libs/strncat-chk.o
>> .libs/strncpy-chk.o .libs/vsnprintf-chk.o .libs/vsprintf-chk.o
>> -Wl,--version-script=/media/SSD/Reinoud/latest_crosstools/.build/src/gcc-4.9.2/libssp/ssp.map
>> -Wl,-EL   -Wl,-soname -Wl,libssp.so.0 -o .libs/libssp.so.0.0.0
>> [ALL  ]    /media/SSD/Reinoud/latest_crosstools/linux-mips/mipsel-coconut-linux-uclibc/bin/ld:
>> .libs/ssp.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not
>> be used when making a shared object; recompile with -fPIC
>> [ALL  ]    .libs/ssp.o: error adding symbols: Bad value
>> [ERROR]    collect2: error: ld returned 1 exit status
>> [ERROR]    make[4]: *** [libssp.la] Error 1
>>
>> Ii'm not sure where to try to add the -fPIC flag and if that even
>> helps in the first place.
>
> From what I understand...
>
> https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fPIC-2808
>
> It's a CFLAG that should probably go into CT_TARGET_CFLAGS (? I think?).
>
> Are you sure you want ssp with mipsel and uclibc? Just checking.
>
>> Any suggestions?
>
> -Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can't seem to post
  2015-04-08 21:28 ` Can't seem to post Bryan Hundven
  2015-04-08 22:12   ` Reinoud Koornstra
@ 2015-04-09  8:33   ` Kevin Chadwick
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Chadwick @ 2015-04-09  8:33 UTC (permalink / raw)
  To: crossgcc

On Wed, 8 Apr 2015 14:28:34 -0700
Bryan Hundven wrote:

> > I sent a message to the crossgcc list, but I don't see it showing up.
> > Maybe you've got a clue?  
> 
> If I don't, I'm sure someone on the list might! Lets try! :)

gmail hides your own messages from your INBOX and yes it is a very
annoying default that I guess causes untold confusion in various
scenarios. You can login and change it in the gmail settings apparently,
I still have to find and change mine and obviously didn't see it when I
enabled pop access and I did look through them all. I don't know but
guess it is probably less secretive about it if you use their web
interface and google want everyone to use a browser for everything,
which is quite rediculous and probably explains why they didn't think
it through properly for proper mail clients (don't care).

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-09  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAAA5faHOmrAd+bwSc5RJjguF-qE+vgBhWvY59r1yhukJcr6-RA@mail.gmail.com>
2015-04-08 21:28 ` Can't seem to post Bryan Hundven
2015-04-08 22:12   ` Reinoud Koornstra
2015-04-09  8:33   ` Kevin Chadwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).