Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] cross-mingw32/gcc-4.8.3 fails to rebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ogenos
n00b
n00b


Joined: 22 Feb 2013
Posts: 46

PostPosted: Mon Oct 20, 2014 6:50 pm    Post subject: [solved] cross-mingw32/gcc-4.8.3 fails to rebuild Reply with quote

Hello,

From today's world emerge:

Code:
 Calculating dependencies... done!
[ebuild   R   ~] cross-mingw32/gcc-4.8.3:4.8::mr-linux1  USE="cxx fortran nls nptl openmp sanitize%* (-altivec) -awt -doc (-fixed-point) -gcj -go -graphite -hardened -libssp -mudflap -multilib -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 0 KiB


The rebuild aborts with:
Code:
...

od_i8.o _mod_i16.o _mod_r4.o _mod_r8.o _mod_r10.o _mod_r16.o misc_specifics.o dprod_r8.o f2c_specifics.o
libtool: link: /usr/libexec/gcc/mingw32/ranlib .libs/libgfortran.a
libtool: link: ( cd ".libs" && rm -f "libgfortran.la" && ln -s "../libgfortran.la" "libgfortran.la" )
make[3]: Leaving directory '/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/mingw32/libgfortran'
make[2]: Leaving directory '/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/mingw32/libgfortran'
make[1]: Leaving directory '/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build'
Makefile:852: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: cross-mingw32/gcc-4.8.3::mr-linux1 failed (compile phase):
 *   emake failed

...


Code:
# emerge --info '=cross-mingw32/gcc-4.8.3::mr-linux1'

Portage 2.2.14 (python 2.7.7-final-0, default/linux/x86/13.0/desktop/kde, gcc-4.7.3, glibc-2.14.1-r3, 3.14.16-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.16-gentoo-i686-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:     3362252 total,    322012 free
KiB Swap:    6291452 total,   6291272 free
Timestamp of tree: Mon, 20 Oct 2014 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo mr-linux1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/gentoo-distfiles/ ftp://mirror.mcs.anl.gov/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlay"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus declarative djvu dri dts dvd dvdr emboss encode exif fam firefox flac foomaticdb fortran gdbm gif git glamor gpm iconv infinality ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg ncurses nls nptl nsplugin ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification subversion svg tcpd threads tiff truetype type1 udev udisks unicode upower usb vorbis win32codecs wxwidgets x264 x86 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="32" ALSA_CARDS="virtuoso oxygen hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="flow karbon kexi krita sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

cross-mingw32/gcc-4.8.3 was built with the following:
USE="cxx fortran nls nptl openmp (policykit) (-altivec) -awt -doc (-fixed-point) -gcj -go -graphite -hardened -libssp -mudflap -multilib -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla"
CFLAGS="-O2 -pipe"
CXXFLAGS=""


Has anyone come across this problem?

P.S. I can provide more info if needed.


Last edited by ogenos on Thu Oct 23, 2014 2:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
ogenos
n00b
n00b


Joined: 22 Feb 2013
Posts: 46

PostPosted: Wed Oct 22, 2014 1:25 pm    Post subject: Reply with quote

A couple of errors and warnings found in /var/tmp/portage/cross-mingw32/gcc-4.8.3/temp/build.log

Code:
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc: In function ‘void __interception::WriteJumpInstruction(char*, char*)’:
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:52:3: error: ‘ptrdiff_t’ was not declared in this scope
   ptrdiff_t offset = to - jmp_from - 5;
   ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:52:13: error: expected ‘;’ before ‘offset’
   ptrdiff_t offset = to - jmp_from - 5;
             ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:54:15: error: expected primary-expression before ‘)’ token
   *(ptrdiff_t*)(jmp_from + 1) = offset;
               ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libsanitizer/interception/interception_win.cc:54:33: error: ‘offset’ was not declared in this scope
   *(ptrdiff_t*)(jmp_from + 1) = offset;
                                 ^
Makefile:338: recipe for target 'interception_win.lo' failed
make[3]: *** [interception_win.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/mingw32/libsanitizer/interception'
Makefile:326: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/mingw32/libsanitizer'
Makefile:9763: recipe for target 'all-target-libsanitizer' failed
make[1]: *** [all-target-libsanitizer] Error 2
make[1]: *** Waiting for unfinished jobs....


Code:
echo | /var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/ -E -dM - | \
  sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
         -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
  sort -u > tmp-macro_list
if /var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/ -print-sysroot-headers-suffix > /dev/null 2>&1; then \
  set -e; for ml in `/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/ -print-multi-lib`; do \
    multi_dir=`echo ${ml} | sed -e 's/;.*$//'`; \
    flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
    sfx=`/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/build/./gcc/ ${flags} -print-sysroot-headers-suffix`; \
    if [ "${multi_dir}" = "." ]; \
      then multi_dir=""; \
    else \
      multi_dir=/${multi_dir}; \
    fi; \
    echo "${sfx};${multi_dir}"; \
  done; \
else \
  echo ";"; \
fi > tmp-fixinc_list
xgcc: error trying to exec 'cc1': execvp: No such file or directory


Code:
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/addtf3.c:34:8: warning: no previous prototype for ‘__addtf3’ [-Wmissing-prototypes]
 TFtype __addtf3(TFtype a, TFtype b)
        ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/divtf3.c:34:8: warning: no previous prototype for ‘__divtf3’ [-Wmissing-prototypes]
 TFtype __divtf3(TFtype a, TFtype b)
        ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/eqtf2.c:34:9: warning: no previous prototype for ‘__eqtf2’ [-Wmissing-prototypes]
 CMPtype __eqtf2(TFtype a, TFtype b)
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/multf3.c:34:8: warning: no previous prototype for ‘__multf3’ [-Wmissing-prototypes]
 TFtype __multf3(TFtype a, TFtype b)
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/negtf2.c:34:8: warning: no previous prototype for ‘__negtf2’ [-Wmissing-prototypes]
 TFtype __negtf2(TFtype a)
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/subtf3.c:34:8: warning: no previous prototype for ‘__subtf3’ [-Wmissing-prototypes]
 TFtype __subtf3(TFtype a, TFtype b)
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/unordtf2.c:33:9: warning: no previous prototype for ‘__unordtf2’ [-Wmissing-prototypes]
 CMPtype __unordtf2(TFtype a, TFtype b)
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:34:8: warning: no previous prototype for ‘__fixtfsi’ [-Wmissing-prototypes]
 SItype __fixtfsi(TFtype a)
        ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c: In function ‘__fixtfsi’:
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
   FP_TO_INT_Q(r, A, SI_BITS, 1);
   ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:34:9: warning: no previous prototype for ‘__fixunstfsi’ [-Wmissing-prototypes]
 USItype __fixunstfsi(TFtype a)
         ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c: In function ‘__fixunstfsi’:
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
   FP_TO_INT_Q(r, A, SI_BITS, 0);
   ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfsi.c:41:3: warning: left shift count >= width of type [enabled by default]
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/floatsitf.c:34:8: warning: no previous prototype for ‘__floatsitf’ [-Wmissing-prototypes]
 TFtype __floatsitf(SItype i)
        ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/floatunsitf.c:35:1: warning: no previous prototype for ‘__floatunsitf’ [-Wmissing-prototypes]
 __floatunsitf(USItype i)
 ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/floatunsitf.c: In function ‘__floatunsitf’:
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/floatunsitf.c:41:3: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
   FP_FROM_INT_Q(A, i, SI_BITS, USItype);
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixtfdi.c:34:8: warning: no previous prototype for ‘__fixtfdi’ [-Wmissing-prototypes]
 DItype __fixtfdi(TFtype a)
        ^
/var/tmp/portage/cross-mingw32/gcc-4.8.3/work/gcc-4.8.3/libgcc/soft-fp/fixunstfdi.c:34:9: warning: no previous prototype for ‘__fixunstfdi’ [-Wmissing-prototypes]
 UDItype __fixunstfdi(TFtype a)
         ^
...
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Oct 22, 2014 7:02 pm    Post subject: Reply with quote

I'd ask in #gentoo-embedded on IRC: chat.freenode.net.

ptrdiff_t is in <stddef.h>, but it's not like gcc-developers don't know that, so I'd guess there's something wrong with the fixincludes process.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21591

PostPosted: Thu Oct 23, 2014 12:07 am    Post subject: Reply with quote

That is a failure in the sanitizer subsystem, which is only needed if you want to use -fsanitize=address and friends. You probably do not need this, and should disable it. I suspect it would not be usable even if it built, since I get:
Code:
$ mingw32-gcc -fsanitize=address -x c /dev/null -o /dev/null
/usr/libexec/gcc/mingw32/ld: cannot find -lasan
collect2: error: ld returned 1 exit status
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Thu Oct 23, 2014 12:38 am    Post subject: Reply with quote

Hu wrote:
You probably do not need this, and should disable it.

How, exactly?

And in the context of crossdev?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21591

PostPosted: Thu Oct 23, 2014 3:21 am    Post subject: Reply with quote

Try USE=-sanitize? I have not rebuilt mingw32 in a while, but my last build of it was successful and I think it predates the introduction of USE=sanitize as an option.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Thu Oct 23, 2014 7:20 am    Post subject: Reply with quote

It's bug #504200.

add USE=-sanitize for mingw-gcc, or resync your portage tree.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
ogenos
n00b
n00b


Joined: 22 Feb 2013
Posts: 46

PostPosted: Thu Oct 23, 2014 1:57 pm    Post subject: Reply with quote

Ok, thanks all. Resync leaves the sanitize flag still activated, so I switched it off manually in the package.use files both for cross-avr/gcc and cross-mingw32/gcc.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Thu Oct 23, 2014 11:21 pm    Post subject: Reply with quote

Hu wrote:
Try USE=-sanitize? I have not rebuilt mingw32 in a while, but my last build of it was successful and I think it predates the introduction of USE=sanitize as an option.

Doh, thanks missed that.
XavierMiller wrote:
It's bug #504200.

Interesting; upstream 246 looks quite useful for the PAX issues mentioned bug #458706 Comment 24 mentions: "They defined some sort of memory allocation code related to asan and it has adresses and sizes hardcoded for 47 bits all over the code."

Though obviously it'd be cleaner if you could give it a correct specification, instead of telling it to use a 32-bit allocator.
Back to top
View user's profile Send private message
billium
Apprentice
Apprentice


Joined: 22 Mar 2003
Posts: 185

PostPosted: Sat Nov 08, 2014 7:31 pm    Post subject: Reply with quote

I had this problem so added (or amended) a line in /etc/portage/package.use/cross-arm-none-abi as cross-arm-none-eabi/gcc -sanitize

but using crossdev this did not work, because crossdev overwrites this file.

So I added the line to /etc/portage/package.use/package.use

and ran emerge -v cross-arm-none-eabi/gcc and it worked.

Should I still be using crossdev? is there any difference?

Thanks.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21591

PostPosted: Sat Nov 08, 2014 10:14 pm    Post subject: Reply with quote

In my experience, once crossdev creates the cross-configuration, you can use a regular emerge cross-arch/gcc and get reasonable results.
Back to top
View user's profile Send private message
billium
Apprentice
Apprentice


Joined: 22 Mar 2003
Posts: 185

PostPosted: Sun Nov 09, 2014 9:34 pm    Post subject: Reply with quote

Thanks for your help on this Hu. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum