Re: [toolchain] amd64-gcc question

2015-11-15 Thread Baptiste Daroussin
On Sun, Nov 15, 2015 at 04:04:07PM -0553, William A. Mahaffey III wrote:
> On 11/15/15 13:58, Gerald Pfeifer wrote:
> > On Thu, 12 Nov 2015, William A. Mahaffey III wrote:
> >> I pkg-installed amd64-gcc over the weekend hoping for Graphite
> >> (auto-loop parallelization) support, but no go.
> > When you say "amd64-gcc" where did you obtain that from?  As a
> > FreeBSD port/package, or somewhere else?
> 
> I pkg-installed it originally, but as of last Monday, there was a port 
> as well, I did a 'portsnap fetch update' (all box-stock ports configs) & 
> there it was 
> 
> >
> >> just did a 'portsnap fetch upgrade' & there is now a port
> >> for amd64-gcc, but it includes no files & no pkg-descr file.
> > This is a little weird.  I have packaged GCC 4.6 (lang/gcc46),
> > GCC 4.7 (lang/gcc47), GCC 4.8 (lang/gcc48), GCC 4.9 (lang/gcc49),
> > GCC 5 (lang/gcc5 and lang/gcc5-devel) and GCC 6 snapshot (lang/gcc6-devel)
> > as well as the "canonical" version of GCC (lang/gcc, currently
> > GCC 4.8 and in the process of being moved to GCC 4.9).
> >
> > All of these build and package on amd64, feature pkg-descr, etc.
> > And as a FreeBSD user leveraging the official FreeBSD Ports Collection
> > is the recommended approach.
> >
> > None of them would be called amd64-gcc or similar, though.
> 
> amd64-gcc-5.2.0
> amd64-xtoolchain-gcc-0.1
> 
> is what pkg calls them 

Those are cross toolchain packages to cross build base with modern gcc

Bapt


signature.asc
Description: PGP signature


[Differential] [Accepted] D3190: ar: enable deterministic mode by default

2015-07-24 Thread bapt (Baptiste Daroussin)
bapt accepted this revision.

REVISION DETAIL
  https://reviews.freebsd.org/D3190

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: emaste, brooks, bapt
Cc: freebsd-toolchain-list
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


[Differential] [Accepted] D3175: ar: add -U (unique) option to disable -D (deterministic) mode

2015-07-23 Thread bapt (Baptiste Daroussin)
bapt accepted this revision.
bapt added a comment.

This is one of the changes I really needed!


REVISION DETAIL
  https://reviews.freebsd.org/D3175

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: emaste, imp, brooks, bapt
Cc: freebsd-toolchain-list
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


[Differential] [Commented On] D2887: Allow ELF Tool Chain elfcopy to be installed as objcopy

2015-06-22 Thread bapt (Baptiste Daroussin)
bapt added a subscriber: bapt.
bapt added a comment.

Why not always build elfcopy and just make a hardlink objcopy if 
MK_ELFCOPY_AS_OBJCOPY is set?

That will make elfcopy always available to users


REVISION DETAIL
  https://reviews.freebsd.org/D2887

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: emaste, andrew
Cc: bapt, bdrewery, freebsd-toolchain-list, emaste
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


[Differential] [Accepted] D2887: Allow ELF Tool Chain elfcopy to be installed as objcopy

2015-06-22 Thread bapt (Baptiste Daroussin)
bapt accepted this revision.
bapt added a reviewer: bapt.
This revision has a positive review.

REVISION DETAIL
  https://reviews.freebsd.org/D2887

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: emaste, andrew, bapt
Cc: bapt, bdrewery, freebsd-toolchain-list, emaste
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


[Differential] [Accepted] D2187: Ensure cross assembler, linker and objcopy are used for the build32 stage

2015-03-31 Thread bapt (Baptiste Daroussin)
bapt accepted this revision.
bapt added a comment.
This revision is now accepted and ready to land.

yup you are right

This looks ok for me I still would be more confident with @imp reviewing as 
well :)

BRANCH
  /head

REVISION DETAIL
  https://reviews.freebsd.org/D2187

To: dim, imp, rodrigc, bapt
Cc: imp, freebsd-toolchain
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


[Differential] [Accepted] D2156: Switch to ELF toolchain readelf

2015-03-27 Thread bapt (Baptiste Daroussin)
bapt accepted this revision.
bapt added a reviewer: bapt.

REVISION DETAIL
  https://reviews.freebsd.org/D2156

To: emaste, imp, bapt
Cc: freebsd-toolchain
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


[Differential] [Accepted] D1974: Support out-of-tree binutils with in-tree compiler

2015-02-26 Thread bapt (Baptiste Daroussin)
bapt accepted this revision.
bapt added a comment.
This revision is now accepted and ready to land.

Looks ok to me

REVISION DETAIL
  https://reviews.freebsd.org/D1974

To: emaste, bapt
Cc: andrew, freebsd-toolchain
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


Re: Resurrecting clang external toolchain support in Makefile.inc

2015-02-11 Thread Baptiste Daroussin
On Wed, Feb 11, 2015 at 11:55:17PM -0700, Warner Losh wrote:
 
  On Feb 11, 2015, at 7:14 PM, Peter Grehan gre...@freebsd.org wrote:
  
  Hi Warner,
  
  I like this patch better than the one I have. I’m not 100% sure the
  ‘else’ clause will work
  
  The else for CROSS_BINUTILS_PREFIX ? If so, yes, that appears to work: I'm 
  building with in-tree binutils.
  
  Ok for this to be committed ?
 
 Yes. I’m happy.
 

Ok for me as well!

Best regards,
Bapt


pgpklV6hta4Jx.pgp
Description: PGP signature


Re: Resurrecting clang external toolchain support in Makefile.inc

2015-02-11 Thread Baptiste Daroussin
On Tue, Feb 10, 2015 at 07:50:59PM -0700, Warner Losh wrote:
 
  On Feb 10, 2015, at 7:32 PM, Peter Grehan gre...@freebsd.org wrote:
  
  Hi toolchain folk,
  
  I've recently tried using the base system clang as an external toolchain 
  i.e.
  
make CROSS_COMPILER_PREFIX=/usr/bin/ buildworld
  
  .. and found that this no longer works after r273755 which split XFLAGS 
  into XC/XCXXFLAGS. This appears to be because the XFLAGS definitions that 
  define --sysroot and -B options aren't being passed through to clang, 
  resulting in using header files from the host system.
  
  My quick hack was
  
  --- Makefile.inc1   (revision 278542)
  +++ Makefile.inc1   (working copy)
  @@ -374,6 +374,8 @@
  TARGET_ABI?=unknown
  TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/}-${TARGET_ABI}-freebsd11.0
  XCFLAGS+=   -target ${TARGET_TRIPLE}
  +XCFLAGS+=  ${XFLAGS}
  +XCXXFLAGS+=${XFLAGS}
  .endif
  .endif
  
  However, this doesn't look to be the right way to fix this.
  
  Any opinions on a proper fix ?
 
 I have a similar “fix” in my tree as well, but hadn’t pushed it because I 
 wasn’t quite sure the right way either.
 
 Warner

In my opinion we should track down the last traces of XFLAGS and turn them into
proper XCFLAGS and XCXXFLAGS, the intent was to get rid of XFLAGS because the
name was confusing.

so instead of adding XFLAGS to XC*FLAGS, the XFLAGS should juste be converted
into XC*FLAGS directly in my opinion.

Best regards,
Bapt


pgpyZlqtlD99a.pgp
Description: PGP signature


[Differential] [Updated] D1516: Update aarch64 patch for binutils 2.25

2015-01-13 Thread bapt (Baptiste Daroussin)
bapt added a comment.

Just for the record I approved via IRC

REVISION DETAIL
  https://reviews.freebsd.org/D1516

To: emaste, andrew, bapt
Cc: freebsd-toolchain
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org


Using more elftoolchain tools?

2014-11-23 Thread Baptiste Daroussin
Hi all,

From what I can see on the elftoolchain website, they do have working
replacement for:
- size(1)
- addr2line(1)
- strings(1)
- nm(1)
- strip(1)

Does anyone knows if there are known issues with those? or if they are viable
replacement for the version we have in base?

I'm planning to spend a bit of time on those (I think emaste@ is already working
on strip(1) so I'll skip that one).

Best regards,
Bapt


pgpgbiMr9wEKw.pgp
Description: PGP signature